Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to Maintain State Information

by bassplayer (Monsignor)
on Jun 27, 2004 at 15:04 UTC ( [id://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...

bassplayer

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found