CGI variables are provided by the web server, based on what information the
client sends to it.  To get what you want, you have to tell the browser to
stop remembering the credentials for the realm they are currently logged
into, which will cause the client to stop sending the auth-user header.  I
don't think you can do that.

barneyb
  -----Original Message-----
  From: Corey Menscher [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, October 08, 2003 10:52 AM
  To: CF-Talk
  Subject: Clearing CGI variables

  For many years our site has used the CGI.AUTH_USER variable
  to determine if someone is logged in.  This has become a
  problem because we want to provide a "logout" option...but
  there seems to be no way to clear the CGI variables
  programmatically.  We are running Deerfield's (previously
  O'Reilly's) Website webserver software on a win2k box.  Any ideas on
  how we can tell the webserver to log the user out from CF5
  (and thus clear the CGI variables) without forcing them to
  close their browser?

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to