473,405 Members | 2,338 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,405 software developers and data experts.

Limit to one computer.

I would like to limit users from logging in to the website from more than
one computer.

I have a database that I use to check the username and password of the user,
but I would also like to check if it is the same computer.

How can this be done without using cookies?
Nov 18 '05 #1
6 1411
Ross Lewis wrote:
I would like to limit users from logging in to the website from more
than one computer.

I have a database that I use to check the username and password of
the user, but I would also like to check if it is the same computer.

How can this be done without using cookies?


Record the IP the client is using. Then if they try to logon to another
computer (with a different IP), you can restrict logon until the user logs
off the first computer (IP), or the session times out...

If restricting on the same computer, then use a cookie.

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP

Hire top-notch developers at
http://www.able-consulting.com
Nov 18 '05 #2
One disclaimer for the IP locking.

If the users are coming from behind a firewall to your site, they all might
have the same IP address.

bill

"Carl Prothman [MVP]" <ca****@spamcop.net> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
Ross Lewis wrote:
I would like to limit users from logging in to the website from more
than one computer.

I have a database that I use to check the username and password of
the user, but I would also like to check if it is the same computer.

How can this be done without using cookies?


Record the IP the client is using. Then if they try to logon to another
computer (with a different IP), you can restrict logon until the user logs
off the first computer (IP), or the session times out...

If restricting on the same computer, then use a cookie.

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP

Hire top-notch developers at
http://www.able-consulting.com

Nov 18 '05 #3
On Mon, 28 Jun 2004 13:16:58 -0400, "Ross Lewis"
<ro*******@hotmail.com> wrote:
I would like to limit users from logging in to the website from more than
one computer.

I have a database that I use to check the username and password of the user,
but I would also like to check if it is the same computer.

How can this be done without using cookies?


if you want to just make sure there aren't concurrent users try using
a hidden form field. Each time the page is sent back verify the
hidden form field matches the data on the server. Each login,
generate a new value for this field. If a user logs in twice (even
from the same computer) you will be able to detect this.

-Adam
Nov 18 '05 #4
It can't be done without using Cookies.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Ross Lewis" <ro*******@hotmail.com> wrote in message
news:co*******************@news20.bellglobal.com.. .
I would like to limit users from logging in to the website from more than
one computer.

I have a database that I use to check the username and password of the user, but I would also like to check if it is the same computer.

How can this be done without using cookies?

Nov 18 '05 #5
I would not like to use cookies because the user can easily clear out their
temperary internet files and cookies.
"Albert Pascual" <Al***********@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
Why don't you use the SessionID/Cookie to see if it's the same browser computer. Add a Cookie into the browser and also check the session ID. Will
tell you if it's the same computer!
"Ross Lewis" wrote:
I would like to limit users from logging in to the website from more than one computer.

I have a database that I use to check the username and password of the user, but I would also like to check if it is the same computer.

How can this be done without using cookies?

Nov 18 '05 #6
I wouldn't like to go to the dentist. But if I don't, all my teeth will fall
out.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Ross Lewis" <ro*******@hotmail.com> wrote in message
news:ql*********************@news20.bellglobal.com ...
I would not like to use cookies because the user can easily clear out their temperary internet files and cookies.
"Albert Pascual" <Al***********@discussions.microsoft.com> wrote in message news:9D**********************************@microsof t.com...
Why don't you use the SessionID/Cookie to see if it's the same browser computer. Add a Cookie into the browser and also check the session ID.

Will tell you if it's the same computer!

"Ross Lewis" wrote:
I would like to limit users from logging in to the website from more than one computer.

I have a database that I use to check the username and password of the user, but I would also like to check if it is the same computer.

How can this be done without using cookies?


Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: bigoxygen | last post by:
Hi... I have a form with almost 500 input text boxes. It seems like the $_POST variable's limit is 200 boxes, as print_r only gave me 200 elements. Has anyone else encountered this? It...
25
by: chad | last post by:
I am writing a program to do some reliability calculations that require several nested for-loops. However, I believe that as the models become more complex, the number of required for-loops will...
14
by: Ember | last post by:
Does anyone have documentation on the limit for database shared memory on Red Hat AS 2.1? On AIX, I know it's 2 GB minus the segments allocated for db2 core functionality (so about 1.7), but I need...
8
by: shenanwei | last post by:
DB2 V8 UDB fixpack 5 on windows I dont want all the client can do catalog, so that they cannot access DB2 directlry. This is all the DBM CFG I found related, CATALOG_NOAUTH DISCOVER...
6
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
3
by: Rakesh | last post by:
Hi, Is there any limit to the number of rows a datagrid can display? Thanks, Rakesh
9
by: freduchi | last post by:
Hi, I need sugestions. I need to implement the next and I don´t know how to do it: I am developing a website in which users are signed up and share information(Messages, Photos...). When a...
6
by: howa | last post by:
Suppose the file is stored in "upload_tmp_dir ", so why I need to increase the memory limit? If I want to upload 100 MB, how large should I set? Thanks.
2
by: Tem | last post by:
Is there a way to set a hard limit on the capacity of a List<>?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.