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?
Up until now i udes cookies but this isnt best way because most people dont allow cookies to bes tored to theit pc through the browser. Whats do you suggest? Can you give me an example?
The Devil Is In The Details!