Results 1 to 3 of 3

Thread: Perl CGI - Maintaining State

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240

    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

  2. #2
    scoutt
    Guest
    cgi yeah it is cookies, I don't think they have sessions do they?

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width