> Basically, I want a different message for people that presumably have
> never seen the site, and those that just need to login again.
Could you use two cookies, one that doesn't expire that let's you know
that they've been to the site, and another that expires in 2 weeks?
Bob
--~--~
When a cookie expires, the browser gets rid of it. Your site will
never see it, and the user will be no longer logged in, since they
will have no link to the session :)
As such, it's impossible to tell if a user with no cookie has never
had one or simply had one but it expired.
--~--~-~
Hi,
I'm building a service that should have 2 week sessions.
For authentication, I'm hoping someone can explain what happens if a
cookie has expired because those two weeks are up.
Is request.user authenticated? Is there another flag that notes the
cookies is expired?
Or is request.user not au
3 matches
Mail list logo