in reply to Re^2: CGI::Session "cache" issue
in thread CGI::Session "cache" issue
If its doing everything fine, then why is there a problem?
redirect does not print a session cookie
No session cookie, means no session.
Your code fragment is too dense, but I was able to spot the problem (redirect without cookies)
If you follow the guidelines of How do I post a question effectively?, and post a small/short, self-contained program, which demonstrates the bug/problem, undesirable output/behaviour, we can better help you, and you can believe us when we do :)
I have used CGI:Session on many occassions, but never for such a task. I have read the tutorial, as well as the main documentation a few times. From what I gathered, you don't need to pass an SID, unless the user has i.e. cookies disabled. The module should handle everything automatically.
How do you think the module handles everything automatically?
The sid has to get passed somehow.
If you use header method, it goes by way of cookie. CGI::redirect() doesn't know about CGI::Session, so no cookie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: CGI::Session "cache" issue
by Zhris (Initiate) on May 23, 2011 at 21:37 UTC | |
by Anonymous Monk on May 23, 2011 at 23:29 UTC | |
by Zhris (Initiate) on May 24, 2011 at 18:30 UTC |