adpinc61 has asked for the wisdom of the Perl Monks concerning the following question:
I think I have a simple issue, but cannot seem to get it to work.
I've been using CGI::Sessions for a long time, but only recently have sent a query string to trigger a change in a session variable.
In the URL, I submit the following example:
http://myScript.pl?session_variable=myVariable
When I send "myScript" I can test and see the value of session_variable is changing, but when I save it to the Session, I have to sent the URL at least twice before it changes in the session itself.
I must have a caching problem, and I've tried a few things but nothing seems to work right.
Because URL is being referenced from another site, I must use the GET form of the query string instead of POST through a form.
Lastly, if I do a keyboard refresh (CTRL-SHIFT-R) and then send the query string, it seems to work fine.
Any help would be appreciated!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Session variables do not seem to be saving
by Anonymous Monk on Oct 11, 2015 at 21:16 UTC |