473,326 Members | 2,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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

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
2 1243
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Akhlaq Khan | last post by:
we are developing an intranet application (web based) which needs to detect the logged in user ID of the user hitting the website. the intranet is huge and based on win2k active directory (around...
5
by: steves | last post by:
Hello, We are developing a web application written in classic ASP, which will end up running on Windows 2000 server. The site has a public side (the login page and related images), and a...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
5
by: tshad | last post by:
If I am using FormsAuthentication, is there a way to check who is logged in? I want to be able to check at any particular time, not just how many people are logged in, but who they are. One...
2
by: Vivek Sharma | last post by:
Hi There, I have my menu as a user control. My menu control is dynamic as I am building it on the basis of user rights. Whenever a user logs on the menu control is built with proper access...
0
by: clintonG | last post by:
I applied aspnet_regsql to SQL2K which was working fine throughout Beta 2 development. After installing Visual Studio and SQL Express RTM my application has blown up. Logging in to the application...
3
by: Dave Smithz | last post by:
Hi there, I have a website where users can log into. This users sessions as I believe most people use when implementing a login section of a website (each php page first checks a valid parameter...
18
by: Arthur | last post by:
Hi All, I would like to get the name of the user given their networkID, is this something Active Directory would be useful for?(For intranet users) If so, can you please point me to some sample...
9
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.