Re: Distinguishing a new user from a returning user with an expired session?

2009-07-21 Thread Piotr Kilczuk

Hello,

> How can one distinguish between:
> 1. a new user coming to the site for the first time, and
> 2. a returning user whose session has expired?
>
> The returning user needs to be informed his session has expired. The
> new user should be allowed to continue on his merry way.

Good question, I'll have to keep an eye on this thread.

One idea is to have a cookie that expires later than the session
cookie and check these...


Regards,
Piotr

--~--~-~--~~~---~--~~
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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Distinguishing a new user from a returning user with an expired session?

2009-07-21 Thread keymaster

How can one distinguish between:
1. a new user coming to the site for the first time, and
2. a returning user whose session has expired?

The returning user needs to be informed his session has expired. The
new user should be allowed to continue on his merry way.

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 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---