[ic] cookie expire

Tim Mirecki interchange-users@lists.akopia.com
Mon Jul 23 15:07:00 2001


I am still losing my cookies!

No idea what is going on...cookies are enabled in my browser.

They're expiring in IE and Netscape. Again, here's my cookie:

     [set_cookie name="save_order" value="yes" expires="[time gmt=1
adjust='+2190']%a, %m-%b-%Y %H:%M:%S GMT[/time]"]

There you have it.


-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com] On Behalf Of Mike
Heins
Sent: Monday, July 23, 2001 2:43 PM
To: interchange-users@developer.akopia.com
Subject: Re: [ic] cookie expire

Quoting Tim Mirecki (tim@q5.ca):
> Ok well that's the whole problem...
>
> If I could just add a few months or a year I wouldn't have this problem,
but
> no one on the list seemed to know the answer, and I couldn't find anything
> for the life of me on the Akopia site.
>

No one looked very hard -- in ictags there is this documented:

    [time adjust='+8760']%a, %m-%b-%Y %H:%M:%S GMT[/time]

Then it follows you can do:

    [set-cookie
        name=foo
        value=bar
        expire="[time gmt=1 adjust='+2190']%a, %m-%b-%Y %H:%M:%S GMT[/time]"
    ]

--
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users