Solved

Any Session module for Perl?

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
The viewer will learn how to dynamically set the form action using jQuery.
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 …

707 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

13 Experts available now in Live!

Get 1:1 Help Now