Re: no cookie vs. expired cookie

2007-08-13 Thread Bob T.
> 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 --~--~

Re: no cookie vs. expired cookie

2007-08-12 Thread Collin Grady
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. --~--~-~

no cookie vs. expired cookie

2007-08-11 Thread [EMAIL PROTECTED]
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