Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: CGI Session - Refresh Problem

by rhesa (Vicar)
on Apr 25, 2008 at 12:51 UTC ( #682815=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI Session - Refresh Problem
in thread CGI Session - Refresh Problem

Those questions are answered in the manual, as well as in the excellent tutorial.

  1. You set the directory where sessions are stored with the Dir parameter;
  2. Instead of printing $cgi->header(...), you can also use $session->header(). That contains the logic for whether you need a new cookie or not.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2021-10-22 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?