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

session problem

by bigup401 (Pilgrim)
on Nov 25, 2014 at 09:53 UTC ( [id://1108328]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $id = $session->id();
    $session->param('logged_in', $username);
    $session->expire('+10m');
    print "Location: welcome.pl?sid=$id\n\n";
    
  2. or download this
    $sid = $cgi->param('sid');
    $session = CGI::Session->load($sid);
    ...
        print $cgi->redirect("home.pl");
        print $cgi->header();
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1108328]
Approved by Eily
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-16 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found