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

user should not logged in more than one using diffferent machins on website

P: n/a
Dear friends,
I am developing one shopping cart application. My requirement is if user
logged in one machine, he should not logged into from another db.

how should I do that. I am using sql server 2000 to store user database.

Problem is if user clsoes the browser then how can I check and clear the
session?

wiating for your reply

Regards
Sachin krogaonkar


Aug 23 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

you can handle this using session_end handler (global.asax).

check out this article: http://www.eggheadcafe.com/articles/20030418.asp

Regards,
Augustin
http://augustinprasanna.blogspot.com

"_thedebugger" wrote:
Dear friends,
I am developing one shopping cart application. My requirement is if user
logged in one machine, he should not logged into from another db.

how should I do that. I am using sql server 2000 to store user database.

Problem is if user clsoes the browser then how can I check and clear the
session?

wiating for your reply

Regards
Sachin krogaonkar


Aug 23 '06 #2

P: n/a
Added to that, you can always check the current session id is present in
the database against the user who is trying to login, if it is not there
you can allow him to logon otherwise, the user is logged in regardless
of same machine or different machine.

Thanks,
--
Vadivel Kumar
http://www.vadivelk.net
va**@online.vadivelk.net (remove "online.")

Augustin Prasanna wrote:
Hi,

you can handle this using session_end handler (global.asax).

check out this article: http://www.eggheadcafe.com/articles/20030418.asp

Regards,
Augustin
http://augustinprasanna.blogspot.com

"_thedebugger" wrote:
>Dear friends,
I am developing one shopping cart application. My requirement is if user
logged in one machine, he should not logged into from another db.

how should I do that. I am using sql server 2000 to store user database.

Problem is if user clsoes the browser then how can I check and clear the
session?

wiating for your reply

Regards
Sachin krogaonkar


Aug 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.