Solved

Any Session module for Perl?

Posted on 1998-09-07
3
164 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

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now