Hi all,

I have been looking around for a while now without finding a solution
to my problem and it is driving me nuts...
I have a website build with Cake 1.2...
I have somewhere a request that take a bit of time, more than 2
seconds anyway. In addition I have a AJAX periodical observer running.
Both use session variables (authentication checks) to work.
Problem is:
if I set the security.level to high, because my first request take
more than 2 seconds, my AJAX request loses the session variables (the
session is renewed) - I read somewhere that it is part the security
level high to renew the session if the previous request is more than 2
seconds ago... fair enough.
So I set the security.level to medium. This solves the problem and my
AJAX request gets the same session information as the other requests.
But the level medium creates another problem for me: it set the
cookie_lifetime to something, not 0, which means that closing the
browser does not end the session.
Does anybody know a way to work around that?

Any help would be very much appreciated.
Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to