hi bakers,

I am using othAuth to manage logins and sessions.  Sessions are stored
in DB.  Im using an ajax script to check for a valid session every 5
minutes. If session expired then show modal and redirect to login
after ack.

The Problem:

Every time the ajax calls the session check code in the controller it
creates a session new expiry in the DB THEN does the check, thus the
session never expires.

I understand this may be perfectly normal as the ajax request is "seen
as" user activity and thus we update the expiry, but how can i check
the session without updating the expiry?

Any help would be great!

Cheers,
Trav.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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