Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Problems with CGI Sessions

by fenLisesi (Priest)
on Dec 02, 2007 at 14:54 UTC ( #654424=note: print w/replies, xml ) Need Help??


in reply to Problems with CGI Sessions

The second condition in $s->is_expired && $s->param("logged_in") looks suspicious. Would it be possible for you to use new and not bother with load? new should be able to handle all of these. You can check for your $s->param("logged_in") on whatever session new gives you, either loaded from an old stored copy, or a newly minted one.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://654424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2019-04-26 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (128 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!