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

Re: How to Maintain State Information

by bassplayer (Monsignor)
on Jun 27, 2004 at 15:04 UTC ( #369966=note: print w/replies, xml ) Need Help??

in reply to How to Maintain State Information

I was curious as to what method people use to maintain session information in CGI scripts. When a user goes from page to page on my site, each page is processed by a cgi script. What is the best way to maintain state and login information? Should I create a file that contains a random key along with the user login and use that to carry state information? Or should I add a row to a database table for each user in maintaining state? In other words, is database access or file access going to be faster?
What was wrong with the answer to the FAQ that you 'borrowed' (verbatim, I might add) this question from?

Also, Super Search or even a regular title search reveals many nodes on this subject...


Replies are listed 'Best First'.
Re^2: How to Maintain State Information
by Nik on Jun 27, 2004 at 22:46 UTC
    I searched it but i can only see the question. I done see the answer anywhere! Do you?!?!?
    The Devil Is In The Details!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369966]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2018-01-19 14:45 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (219 votes). Check out past polls.