Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: Problems getting session management to work: is_expired seems to lie to me

by ted.byers (Monk)
on May 06, 2013 at 23:59 UTC ( #1032418=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $session = CGI::Session->new('driver:mysql',$query,{ DataSource  => 
    +'dbi:mysql:profitorius',
                                  User        => 'rejbyers',
                                  Password    => 'Didr39Qcab' });
      $session->expire("5m");
    
  2. or download this
      $session = CGI::Session->load('driver:mysql',$query,{ DataSource  =>
    + 'dbi:mysql:profitorius',
                                  User        => 'rejbyers',
                                  Password    => 'Didr39Qcab' });
      my $extest = $session->is_expired;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032418]
help
Chatterbox?
erix just did a 12 km-run. Slow, but unstoppable!
[choroba]: My recent record is 10km in 1 hour :)
[perldigious]: Nice erix... perldigious' legs are so sore from portaging his kayak from place to place last weekend he can barely hobble 12m. :-)
[erix]: you're faster than me then :)
[erix]: well, at the moment, that is :)
[erix]: I should lose some weight although I keep telling myself that I'm doing extra training by lugging it along
[erix]: I saw a common kingfisher and a couple of bullfinches
[erix]: bullfinch ( a male and a female )

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-05-24 12:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?