I'm having trouble getting a CGI::Application::Session cookie to be persistent. In other words, once the browser is closed the cookie is lost.If you don't specify an expiration date, the cookie will be lost once all the windows of that browser is closed.
You don't need to manually compare the cookie. The CGI-Session does it for you. But you do have to propagate the session id from request to request, otherwise the application has no way of knowing which/who/what to look for.
Look at the cookbook manual for CGI-Session where a simple "members only area" example details this very clearly.
In reply to Re: CGI::Application::Session Cookies confusion
by punkish
in thread CGI::Application::Session Cookies confusion
by kerindar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |