473,508 Members | 2,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Password Protected Web site

I am building a password protected ASP web site.
(http://www.allscrewedup.org)

When you go to this site there is a link in upper left corner (VIP) that
takes you to a Logon Screen.

The user must enter a user name and password to gain access to the secure
pages which follow.
This works fine and if the user can go back to the opening page by logging
off (back to default link) .

If the user clicks the back button twice he will be back on the opening page
but he will still be logged on.

I want to force the user to log off if he/she attempts to do this.

Any Suggestions .

PS you can test the page using User name = name
and Password = password

Thanks


Sep 27 '05 #1
2 1548
On Tue, 27 Sep 2005 17:25:34 GMT, "RICHARD BROMBERG"
<di******@worldnet.att.net> wrote:
I am building a password protected ASP web site.
(http://www.allscrewedup.org)

When you go to this site there is a link in upper left corner (VIP) that
takes you to a Logon Screen.

The user must enter a user name and password to gain access to the secure
pages which follow.
This works fine and if the user can go back to the opening page by logging
off (back to default link) .

If the user clicks the back button twice he will be back on the opening page
but he will still be logged on.

I want to force the user to log off if he/she attempts to do this.


How are you persisting the login state? And pretty much, I'm
wondering why this is a problem? On the opening page, check to see if
the user is already logged in, if so, present a message to that effect
and a menu, if not, present the login dialog.

Jeff
Sep 28 '05 #2
Thanks Jeff

I an using the code described in "How to use a database for user names and
passwords in FrontPage 2000"
located at
http://support.microsoft.com/?id=321...22120121120120

Assume the user logs on and then backs up to the opening page using the
Back button and then walks away from the computer.
At this point anyone who clicks on the VIP link on the opening page goes
straight to the secure page by passing the Logon screen.

I think one way of doing this is at the beginning of the opening page do a
test to determing if the user has already logged on.
If he has already logged on then I want to log him off.
I think there is an session.abandon command that does this but I am not sure
how to use it.

Thanks again


"Jeff Cochran" <je*********@zina.com> wrote in message
news:43***************@msnews.microsoft.com...
On Tue, 27 Sep 2005 17:25:34 GMT, "RICHARD BROMBERG"
<di******@worldnet.att.net> wrote:
I am building a password protected ASP web site.
(http://www.allscrewedup.org)

When you go to this site there is a link in upper left corner (VIP) that
takes you to a Logon Screen.

The user must enter a user name and password to gain access to the secure
pages which follow.
This works fine and if the user can go back to the opening page by
logging
off (back to default link) .

If the user clicks the back button twice he will be back on the opening
page
but he will still be logged on.

I want to force the user to log off if he/she attempts to do this.


How are you persisting the login state? And pretty much, I'm
wondering why this is a problem? On the opening page, check to see if
the user is already logged in, if so, present a message to that effect
and a menu, if not, present the login dialog.

Jeff

Sep 29 '05 #3

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

Similar topics

2
1756
by: Rickard | last post by:
OK. I have the need on a form submit to pass the data to anther system that require a login and password only I want to automate the process in an server side asp file and then process the...
3
1578
by: netsurfer | last post by:
hi..I'm working on a project that requires files to be password protected on a UNIX based site. The people that own the web site want to be able to change the password every so often. ...
9
2193
by: Ben Allen | last post by:
Hi, I want to create a password protected page to administer my site from (the news is read from a mySQL database and I have created a PHP form to as a GUI to do this). I thought of...
2
1949
by: Morten | last post by:
Hi! I'm wondering what it is that makes IE prompt users to save user name and password. I have a web site coded in C#/.Net and part of it is protected by means of a form. When I key in user name...
5
2804
by: Darren | last post by:
Hello, we're fully paid up and signed up to a password protected site, so this isn't hacking. In this site we can download a price list in CSV format. What I'd like to do is have a PHP...
4
2752
by: connoisseur.infotech | last post by:
hello we are developing one tool where we need to open and make password protected zip files. we found some solutions but they don't support password protected things. does any one knows about...
4
5124
by: apondu | last post by:
I'm trying to screen scrape a site that requires a password. I am using C#.Net, i am new to this and with the information available around on the internet i just put tht information into the...
3
19519
by: rodrigo | last post by:
I am trying to retrieve a password protected page using: get = urllib.urlopen('http://password.protected.url"').read() While doing this interactively, I'm asked for the username, then the...
1
1248
by: denniswong288 | last post by:
Hi, My website has PDF documents that's available for registered users to view online (through my site) only. Currently, I can't find any solutions to prevent users from downloading/"save-as"...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
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
7385
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...
1
7046
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
7498
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
5629
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,...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.