Page is a not externally linkable
- Code, Content, and Presentation
-- Perl Server Side CGI Scripting
---- Getting results from Javascript back to Perl


mark_roach - 12:12 pm on Dec 13, 2011 (gmt 0)


A session cookie will be kept until all instances of the browser are closed which explains why you are still seeing the cookie values.

If you use a persistant cookie it will be available across browser sessions so yes you will be able to read it (assuming it has not expired) when you start up a clean browser session, after a re-boot for example.

Note to use a persistant session you need to set and expires value when you create the cookie. Your initial code does not do this.


Thread source:: http://www.webmasterworld.com/perl/4395572.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com