Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

NTLM Login

3 views
Skip to first unread message

Nick

unread,
Jul 23, 2003, 9:46:23 PM7/23/03
to
Hi, I'm using NTLM/NTFS security for users to login to a
site with ASP on W2K. Is there a way I can log a user out
with script when he hits a logoff button?

Regards
Nick

Ken Schaefer

unread,
Jul 23, 2003, 9:52:37 PM7/23/03
to
Not really. You need to get them to close their browser window. It is the
browser that sends the user's username/password as part of the HTTP request
header. You can't stop that per se by using script, since that operates at a
higher level.

Cheers
Ken

"Nick" <Ni...@hks.ca> wrote in message
news:06ad01c35185$63788990$a401...@phx.gbl...
: Hi, I'm using NTLM/NTFS security for users to login to a

Nicholas Tullett

unread,
Jul 24, 2003, 9:37:27 AM7/24/03
to

Sorry about the double posting, I posted to the wrong group first. OK,
so I can't logoff the user, then can I close the browser using a button
without generating any popup windows except maybe to confirm?

Many Regards and thanks for the answer

Nick


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Ray at <%=sLocation%>

unread,
Jul 24, 2003, 11:02:17 AM7/24/03
to
window.close()

Or you can use:
<input type=button onclick="window.opener=window; window.close();"
value="close">

The window.opener=window will prevent the warning about the browser closing,
in IE. But this is something that is either fixed or will be fixed in an
update for IE. This trick shouldn't be.

Ray at work

"Nicholas Tullett" <ni...@hks.ca> wrote in message
news:e4Ow5ieU...@TK2MSFTNGP11.phx.gbl...

Mark Schupp

unread,
Jul 24, 2003, 11:28:41 AM7/24/03
to
I once saw an article on MSDN about using a client-side ActiveX component to
clear the credentials from IE. You might try searching at
msdn.microsoft.com.

--
Mark Schupp
--
Head of Development
Integrity eLearning
Online Learning Solutions Provider
msc...@ielearning.com
http://www.ielearning.com
714.637.9480 x17


"Nick" <Ni...@hks.ca> wrote in message
news:06ad01c35185$63788990$a401...@phx.gbl...

Tom Kaminski [MVP]

unread,
Jul 24, 2003, 2:26:46 PM7/24/03
to
That was only for use with Basic authentication.
http://support.microsoft.com/?kbid=195192

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserver2003/community/centers/iis/

"Mark Schupp" <msc...@ielearning.com> wrote in message
news:uULMQdfU...@TK2MSFTNGP12.phx.gbl...

0 new messages