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

Re: Re: CGI::Session::MySQL

by Cody Pendant (Prior)
on Aug 07, 2003 at 03:35 UTC ( [id://281726]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI::Session::MySQL
in thread CGI::Session::MySQL

Thank you, that looks exactly what I need.

What's that "dc151fc_session" all about, if you don't mind my asking -- that's your table name in the db, or the db name?



($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print

Replies are listed 'Best First'.
Re: Re: Re: CGI::Session::MySQL
by jdtoronto (Prior) on Aug 07, 2003 at 04:30 UTC
    Hi!

    the dc151fc_session is the database name. All my db names are prevfixed with the first seven characters of the domain name they are used by. The table name, as I recall is 'sessions' - the default expected by CGI::Session::MySQL.

    I'm glad it helped, I only got it working for the first time yesterday!

    ....john

      Just a note to say it's working just fine now, thanks again.

      I haven't got anything especially useful in the sessions table, just an id which is the session id and a hash with various bits of data in the session details.

      Is there a way to get useful things into useful fields in the table so that I can sort by them or search by them? Usernames, expiries, that kind of thing?



      ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-03-28 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found