Clearing or Resetting ServerVariables

Results 1 to 2 of 2

Thread: Clearing or Resetting ServerVariables

  1. #1
    Georgina Guest

    Default Clearing or Resetting ServerVariables

    Hi,<BR><BR>I am using Request.ServerVariables("LOGON_USER") to determine if a visitor to a web page is allowed to view the information.<BR><BR>What I want to do is to have a "logout" button that will clear<BR>"logon_user" so that every time someone visits my page they will be asked to authenticate.<BR><BR>Currently it appears that this information is held in the browser so that the "logout" button would need to quit out of netscape (or IE).<BR><BR>Does any one have any ideas how I can reset the logon_user information?<BR><BR>It has been suggested to me that I should set the session variable to null on logout. I don&#039;t see how this can work as I am not using session variables.<BR>Thanks Georgina.

  2. #2
    Join Date
    Dec 1969

    Default it's read-only

    the only way would be to destroy the sessionID cookie in the browser - although I&#039;m not 100% sure that that would work. possibly killing the browser is the only way

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts