Solved

Any Session module for Perl?

Posted on 1998-09-07
3
168 Views
Last Modified: 2013-12-25
I'm using Perl to develop the CGI program on the Linux. I know that using IIS ASP, it has Session object which can save some global data. Is there any perl module or any other good method to use the global data just as the IIS Session object?

Thanks.

0
Comment
Question by:jonalee
  • 2
3 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1828577
There are none that I know of... You could however use cookies... That may give you the desired result
0
 
LVL 2

Author Comment

by:jonalee
ID: 1828578
I know sometimes, I can use cookies. But, if 2 person share 1 PC. There's also some secret information need to be used as common variable. If one person closed his IE, another reopen it, he will get all the secret information. I just simplify this question:
How some online shopping realize that what are in the basket? Do they use database to track it? If the person close the IE before he click on the confirmation button, then all the data will be lefe in the database? How to clear this?

Thanks.

0
 
LVL 10

Accepted Solution

by:
MasseyM earned 100 total points
ID: 1828579
YOu can set a timeout on the cookies... and you can even make it so the cookies will delete themselves when the browser is closed...

http://home.netscape.com/newsref/std/cookie_spec.html is a GREAT explanation on how to use cookie sand set them to expire when you want them to... Take a look
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question