I assume you're speaking of basic authentication (where you get the dialog
box from the browser to enter the user/password.)

In this case the user and password is resent on every request, so the
browser (IE, or any other) has to remember them so it can send them each
time.

Your choices are with that authentication scheme are:
1) Tell the user to Close the browser! 
2) Install some JS hook so pick up when you're leaving the site and close
the browser on them. 

Either is ugly.

You could move to a database-driven authentication scheme (ala, ebay,
amazon, etc.) then timeout the session, but that's a major code change.

-Walden


------------
Walden H Leverich III
President & CEO
Tech Software
(516) 627-3800 x11
(208) 692-3308 eFax
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com 

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)
 
-----Original Message-----
From: Chris Piper [mailto:Cpiper@xxxxxxxxxxxx] 
Sent: Thursday, February 12, 2004 10:34 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Clearing user names and passwords

I am using SSL security on a test web site. User logs in with name and
password, uses the site, and then leaves the site. If the user doesn't close
I.E., he or she can access the site again without having to enter their user
name and password again. The problem I have is the PC in question my be a
community PC, with multiple users, and I don't want anyone getting access to
the site under someone else's user name, and I can't figure out how to force
the browser to "forget" the user name and password. Can any help me out?
Thanks so much.

Chris


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.