|
-
Jan 5th, 2002, 06:41 PM
#1
Thread Starter
Addicted Member
Perl CGI - Maintaining State
Hi, a long while back I used to write Perl CGI scripts, but abandoned it when PHP came out.
I'm re-examining it because I've noticed that it still remains popular after all this time.
Question: what is the mechanism that you use to maintain state? ASP and JSP have their session and session variables. Do most people just use cookies or what?
cudabean
-
Jan 5th, 2002, 08:33 PM
#2
cgi yeah it is cookies, I don't think they have sessions do they?
-
Jan 7th, 2002, 12:21 PM
#3
Black Cat
You can do the same thing they do: Write out your Session ID as an encrypted cookie and use a database or text file or something to write your persisted data in.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|