By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,320 Members | 2,224 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,320 IT Pros & Developers. It's quick & easy.

How do I restrict to the same user's double_login?

P: n/a

How do I restrict to the same user's double_login?
Is there any way to solve this problem under "user closed browser" or
"computer crash" condition ?
Best Regards,
Lawrance Chang
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

You can use a database field or a cookie for check whether the login is active or not. If it is don't let the second user login. Well, cookie is a viable option of take care of issues like user closed browser or computer crash. Make a cookies which expires when the session of that user ends. If you don't define its expirery time and date, by default it would expire when the user session ends.

Hope this helps

Bhaskardeep Khaund
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.