On 6/6/07, Penfold <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> You can you check to see if the session is valid $this-session-
> >valid() (i think) if the session is has timed out, it will be
> invalid.


Hi,

I looked into this topic quite a bit as well, as I wanted to display a
similar message to the user. I tried using $this->Session->valid() but it
didn't work out for me. It was a while ago, but I think it *always*
displayed the error message for me instead of only doing it when the session
timed out.

The only solution I can see is to modify the session handling code to take
into consideration that the session may have simply timed out, and not
consider it "hijacked" just because it timed out. However, if anyone knows
if a better solution, I'll be happy to hear it !

- Gonzalo

--~--~---------~--~----~------------~-------~--~----~
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