Anyway, that's something non trivial, you can do it using headers,
status-code, content comparison (search for some string fore example) but
you may consider some cross-browser issues.

-- 
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net


On Jan 3, 2008 11:17 AM, Pablo Viojo <[EMAIL PROTECTED]> wrote:

>
>
> Yes, that's the way it's supposed to work. You're requesting something
> (content, login page, error page) and then painting it somewhere. I don't
> know if there are any way to check for the session expiration using the ajax
> helper, but you should have some code on the client-side (javascript) to
> check if session is alive. If not just do a redirect to the login url.
>
> Regards,
> --
> Pablo Viojo
> [EMAIL PROTECTED]
> http://pviojo.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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