Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 contemplating the Monastery: (5)
As of 2017-02-20 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (295 votes). Check out past polls.