|
-
Mar 6th, 2013, 09:21 PM
#3
Re: CMS: How to Keep A User Logged In
You should use Cookies to store login information. If the user does not select "Keep me Logged In" then only store the cookie for an hour. If they do opt to stay logged in, then keep the cookie for a week, month, etc.
Then on every page you need to check to see if the cookie exists, if it does (do your checks) and show them the page.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|