?
Solved

Any Session module for Perl?

Posted on 1998-09-07
3
Medium Priority
?
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 300 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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

800 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