A
Anonymous
Guest
Well, I guess you can set the expire date of the cookie to a reasonable time.
For example 5 minutes.
So If the user keeps browsing your site, the cookie will be updated everytime he loads a new page.
If the user don't update that cookie, it'll be removed automatically.
You can also add a loggout button, but people don't use it really...
I hope it helped.
For example 5 minutes.
So If the user keeps browsing your site, the cookie will be updated everytime he loads a new page.
If the user don't update that cookie, it'll be removed automatically.
You can also add a loggout button, but people don't use it really...
I hope it helped.