Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: CGI::Session and cookie expiration

by bmann (Priest)
on Oct 18, 2004 at 21:43 UTC ( [id://400330]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub header {
        my $self = shift;
    
    ...
            @_
        );
    }
    
  2. or download this
    1222c1222
    <         return $self->header();
    ---
    >         $cgi = $self->{_SESSION_OBJ};
    
  3. or download this
     # call header to instantiate CGI object, but throw away the result
    $sess->header();
    # _now_ print the header
    ...
    Expires: Mon, 18 Oct 2004 21:52:43 GMT
    Date: Mon, 18 Oct 2004 21:42:43 GMT
    Content-Type: text/html; charset=ISO-8859-1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-16 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found