thanks..

however, if the session has not yet been set, will $this->Session-
>invalid() return true?

Actually I have 1.1.10 on production. will upgrading to 1.1.12 break
anything?
Anyway, i have plan for upgrading. Just to do it so carefully.

On Feb 5, 4:46 am, "Mariano Iglesias" <[EMAIL PROTECTED]>
wrote:
> $this->Session->invalid() returns true when the session is not valid, thus
> when it has expired. So yes, it is the same.
>
> PS: I see you are using CakePHP 1.1.10. Always try to keep up to the latest
> version of your cake trunk (in this case CakePHP 1.1.12)
>
> -MI
>
> ---------------------------------------------------------------------------
>
> Remember, smart coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -----Mensaje original-----
> De: [email protected] [mailto:[EMAIL PROTECTED] En nombre
> de bobmaluga
> Enviado el: Domingo, 04 de Febrero de 2007 05:07 p.m.
> Para: Cake PHP
> Asunto: how to check for session expire
>
> Just want to know if I can check for expired session, something like
> $this->Session->expired().
>
> Or is it the same with $this->Session->valid()
>
> Cake version: 1.1.10.3825


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