[ic] cookie expire

Mike Heins interchange-users@lists.akopia.com
Mon Jul 23 14:44:01 2001


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