Logging Out

  • Thread starter Thread starter S_FOX
  • Start date Start date
S

S_FOX

I am learning VB .Net and Visual Studio .Net while trying to create a Help
Desk application for our company's Intranet. Certain pages are available to
the MIS Department only. Windows Integrated Security is being used.

When a MIS Tech is at another employees pc, and they log into the secure
section of the web site, how do I log them out? When they click the log out
button, I want them to be brought back to the Main Welcome screen which
everyone has access to. Right now it does this, but if the employee clicks
on the button to go into the secure site, they are not prompt to login
again.

Do I need to clear a cookie or something?

Do I need to have the browser close, and open up another browser window? I
have been trying to do this, but I don't know the right commands to use to
Close the current browser, and open another one.

Website / Security details

1. The website is setup with Integrated Windows Security / anonymous access
is disabled

2. The folder where the secure pages are stored is setup with Basic
Authentication.This way the users are prompted for their login credentials
when trying to enter the secure area.

Please Help.

Thank you,

Susan
 
On Wed, 23 Mar 2005 13:28:30 -0500, "S_FOX" <s> wrote:

¤ I am learning VB .Net and Visual Studio .Net while trying to create a Help
¤ Desk application for our company's Intranet. Certain pages are available to
¤ the MIS Department only. Windows Integrated Security is being used.
¤
¤ When a MIS Tech is at another employees pc, and they log into the secure
¤ section of the web site, how do I log them out? When they click the log out
¤ button, I want them to be brought back to the Main Welcome screen which
¤ everyone has access to. Right now it does this, but if the employee clicks
¤ on the button to go into the secure site, they are not prompt to login
¤ again.
¤
¤ Do I need to clear a cookie or something?
¤
¤ Do I need to have the browser close, and open up another browser window? I
¤ have been trying to do this, but I don't know the right commands to use to
¤ Close the current browser, and open another one.
¤
¤ Website / Security details
¤
¤ 1. The website is setup with Integrated Windows Security / anonymous access
¤ is disabled
¤
¤ 2. The folder where the secure pages are stored is setup with Basic
¤ Authentication.This way the users are prompted for their login credentials
¤ when trying to enter the secure area.
¤

Since windows credentials are cached in the browser when using integrated security, the only way to
actually log them off is to close their browser.

There is a way to flush credentials but it requires an ActiveX control on the client and only works
with the IE browser.


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top