Solved

Any Session module for Perl?

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

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…
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…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

717 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