Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: CGI::Session small problem...

by fishmonger (Chaplain)
on Feb 24, 2013 at 17:17 UTC ( #1020406=note: print w/replies, xml ) Need Help??


in reply to CGI::Session small problem...

Why are you attempting to load the session twice?

Remove the second call to CGI::Session->load() and add the strict pragma and fix the var declarations as needed (i.e., declare them with the 'my' keyword)

Replies are listed 'Best First'.
Re^2: CGI::Session small problem...
by fishmonger (Chaplain) on Feb 24, 2013 at 17:31 UTC
    Another suggestion to try is put your $sesion->header(...) statement after the flush statement

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020406]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-01-19 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (168 votes). Check out past polls.