Hi Brad,It should work - this is the first I've heard otherwise. The way it works is that it sends the cookie w/ an expire value of '-1h', which should tell the browser to delete the cookie.
You may want to file a bug report on RT, along with your particulars (browser, web server and CAP-Session version):
http://rt.cpan.org/Public/Dist/Display.html?Name=CGI-Application-Plugin-Session - Jason Brad Cathey wrote:
I've heard rumors for a while that this doesn't work for deleting session
cookies:
$self->session_delete();
...and indeed that is true. I've also tried:
$self->session_cookie(-expires => '+0s');
...which does work!
Am I missing anything?
I am setting up the session like this:
$self->session_config( DEFAULT_EXPIRY => '+8h');
...and I do need to delete the cookie and session (this is an e-com site).
Brad
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.