Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

Windows Authentication Logout

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rahul - 07 Jun 2007 14:35 GMT
Hello All,

I'm sure many people must have encountered this problem, but I want to
implement the functionality when a user clicks a button and "logs out"
so that the next time he attempts to access website, he will be
greeted with the authentication dialog box.

Is there any way to fulfill my wish? (Sharepoint seems to be popping
such screens whenever it wants).

Just for the background, I'm using ASP.NET 2 + C# on IIS 6 with
Windows Authentication, SQL server session state.

I also need my site to be 508 compliant thus essentially minimizing
the use of almost everything that might come even close to being
fancy :) But this is such an annoying problem that I'll take anything
as a solution.

So... any clues?

Thanks in advance for any sort of help.
bruce barker - 07 Jun 2007 16:22 GMT
with windows authentication, the browsers is asked for credentials on
every page request. the browser send them automatically, also with ntlm,
it send once without asking the user.

if you want to force the dialog box, just respond with status 401. the
trick will be to remember you did this so that the next time its ok.

-- bruce (sqlwork.com)

> Hello All,
>
[quoted text clipped - 17 lines]
>
> Thanks in advance for any sort of help.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.