Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 10:58 AM
Markus Mannheim
Guest
 
Posts: n/a
Default Clear "Logon_user"

Hi,

I have a non anonymous site in IIS5
The site is for collecting any kind of data from employees.
Authentication is done with the server variable "Logon_User"

Pages:

start.asp - Authentification mask appears -->
form.asp - form for data input -->
form_ack.asp - displays the data again and stores in SQL when
acknowledged in checkboxes

After data are stored I'd like to have a button such as "Log off"
which points back to start.asp.
In the samples I tried there is always the current logged in user
present even when I do a "session.abandon" or
"Session.Contents.Remove"

But how can I "reset" the current logged in user?

For help thanks in advance,

Markus
  #2  
Old July 19th, 2005, 10:58 AM
Tom Kaminski [MVP]
Guest
 
Posts: n/a
Default Re: Clear "Logon_user"

"Markus Mannheim" <markus.mannheim@web.de> wrote in message
news:59a62b03.0401080545.58dc43c0@posting.google.c om...[color=blue]
> Hi,
>
> I have a non anonymous site in IIS5
> The site is for collecting any kind of data from employees.
> Authentication is done with the server variable "Logon_User"
>
> Pages:
>
> start.asp - Authentification mask appears -->
> form.asp - form for data input -->
> form_ack.asp - displays the data again and stores in SQL when
> acknowledged in checkboxes
>
> After data are stored I'd like to have a button such as "Log off"
> which points back to start.asp.
> In the samples I tried there is always the current logged in user
> present even when I do a "session.abandon" or
> "Session.Contents.Remove"
>
> But how can I "reset" the current logged in user?[/color]

The credentials are cached by the browser and have nothing to do with the
ASP session. See: 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/windowsserv...y/centers/iis/



  #3  
Old July 19th, 2005, 10:59 AM
Brynn
Guest
 
Posts: n/a
Default Re: Clear "Logon_user"


maybe try

<%
Session("theuser") = ""
%>

at the top of your login page







On 8 Jan 2004 05:45:00 -0800, markus.mannheim@web.de (Markus Mannheim)
wrote:
[color=blue]
>Hi,
>
>I have a non anonymous site in IIS5
>The site is for collecting any kind of data from employees.
>Authentication is done with the server variable "Logon_User"
>
>Pages:
>
>start.asp - Authentification mask appears -->
>form.asp - form for data input -->
>form_ack.asp - displays the data again and stores in SQL when
>acknowledged in checkboxes
>
>After data are stored I'd like to have a button such as "Log off"
>which points back to start.asp.
>In the samples I tried there is always the current logged in user
>present even when I do a "session.abandon" or
>"Session.Contents.Remove"
>
>But how can I "reset" the current logged in user?
>
>For help thanks in advance,
>
>Markus[/color]

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles