If that still doesn't work, and you are confident that you are not running in a persistent environment, then I don't know what is wrong... If you still have trouble, maybe send more code (if you don't want to send it all to the list, you can send it privately, but I can't guarantee I'll have time to look through all of it right away).
All the code is here: http://svn.pti.co.il/svn/cpan-forum/trunk/
But actually thanks to your suggestions and a bit of RTFM I finally cleaned up that part of the code and it works now.
I am still not sure what was the problem as the exact same code was working well on the live server. Just on my newly installed development
machine it did not want to work. (I guess I am lucky it was not the other
way around.) All the modules seemed to be the same though I have 5.8.6 on
the deve machine and 5.8.4 on the live one.
I also had trouble understanding why
$self->session_cookie();
did not work when I moved it within the run mode (the login_process run mode) The problem was that I redirected from that run mode and during redirection regular headers (and thus cookies) are not sent.
So now I set the cookie within the "login" run mode that actually displayes the login page.
Though I think it is a bit strange in the teardown method I execute
$self->session->delete;
in order to remove the session from the database. I have not checked yet if it gets written to the database and then deleted or if it never written there.
It seems that most of the problems were solved.
Thank you for your help.
Gabor
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
