Re: how to get the expiration date of a cookie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 6, 2017 at 6:18 AM, eeadev dev <eeadev@xxxxxxxxx> wrote:
> is not this meant to be the mailing list of apache? I d need to get this
> info using C and the apr_library, not java unfortunately
>
> 2017-10-06 2:18 GMT-07:00 Suvendu Sekhar Mondal <suv3ndu@xxxxxxxxx>:
>>
>> On Fri, Oct 6, 2017 at 1:13 PM, eeadev dev <eeadev@xxxxxxxxx> wrote:
>> > I cannot find a place where is written how to get the expiration date of
>> > the
>> > cookie I set.
>> > Please anyone knows how to do that?
>> >
>> Using program? In Java world you can use getMaxAge() of Cookie class.

There is a low traffic modules developers list, this is the users list
(mostly webserver administrators).

Since there is no cookie API, there is no API to retrieve the details
of a Set-Cookie header you added previously.  It's just strings.

What's the actual problem?  If you are issuing the cookie, you control
the expiry that goes out with it.

-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux