Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Listing Active CGI::Sessions

by antirice (Priest)
on Sep 05, 2004 at 18:44 UTC ( [id://388640]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub store {
        my ($self, $sid, $options, $data) = @_;   
    ...
        
        return $dbh->selectrow_array(qq|SELECT RELEASE_LOCK("$sid")|);
    }
    
  2. or download this
    CREATE TABLE sessions (
            id CHAR(32) NOT NULL UNIQUE,
            expires datetime,
            a_session TEXT NOT NULL
        );
    
  3. or download this
    select id from sessions where expires <= NOW() or expires is null
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found