For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > June 2005 > 2 sessions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author 2 sessions
Octavian Rasnita

2005-06-04, 3:55 pm

Hi,

I want to use 2 sessions in the same CGI script, using CGI::Session module.
Is it possible?

I want to be able to save a permanent cookie on the visitors computers in
order to be able to recognize all the visitors the next time they visit my
site, and offer them a specific content.
In the same time, I want to use a second session in order to keep the logged
username and other vars, and this session should use a temporary cookie that
should be used only when the users log on. (They can use my site without
loggin also, but there will be some missing facilities).
The second cookie should be a temporary one, because I don't want users to
be logged on after closing their browsers.

Is it possible if I want to use CGI::Session?

Thank you.


Teddy


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com