|Welcome to the Monastery|
CGI::Session small problem...by pedrete (Initiate)
|on Feb 24, 2013 at 13:04 UTC||Need Help??|
pedrete has asked for the
wisdom of the Perl Monks concerning the following question:
May i ask for 10nanoseconds of your wisdom, please???
I am having a small problem with CGI::Session and i am stuck... (for 3 days now)
I have an html page (login.html) that asks for user and password. When entered, login.pl checks for them, if they are correct then it creates a sesion and launches web.pl
web.pl checks if the session is valid. if so, then it shows the webpage but if not, it redirects to login.html
The problem is that it seems that the session created by $sesion=new CGI::Session(); is always empty when checked by web.pl . why???
Curiously, if the user enters the process twice (with correct credentials of course) then it works!!!login.pl:
Thanks to all in advance!!Pedrete.