473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

"Logging Out" of an IIS Session

scubak1w1
OK, I have been banging my head against this all day... so any suggestions gratefully received...

I am working on an employee logon section, https://, that I want to add a button to the header to allow the user to "log out"... (it is integrated with ID by the way, IIS7...)

That is:
  1. clear the browser cache of the credentials
  2. reset, in my case using PHP, what I can see in $_SERVER['REMOTE_USER']
  3. jump back to the general http:// 'home page'

I tried singly or in a combination:
  • resetting the headers on a specific page as "401", but (naturally I guess) the user is prompted to enter them again... and I can't get the page to go back to the (and the browser is still caching them anyway...)
  • using document.execCommand("ClearAuthenticationCache", false) but not useful outside of a
  • trying setting $_SERVER['REMOTE_USER'] directly as a variable, knowing it would not work :-)
  • etc, etc, etc

I thought about just closing the user's browser, but that could be problematic and annoying to them! <grin>

I am actually more of a data person who is learning PHP, Javascript, etc - the good IT folks set up the IIS7 configuration and although they have been very understanding where not able to think of any way to accomplish this...

Anyway, thanks in advance for any help!

Regards,
GREG...
Feb 24 '09 #1
1 2484
@scubak1w1
Sorry, just to clarify I mean header on the page (i.e., the consistent controls at the top of the page), not the <header></header>
Feb 24 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Robin Tucker | last post by:
My code prints out 0 for the value of charindex ( 'Hello.', '.' ). Did I miss something? I think it should print out 6!
3
by: Henne | last post by:
Hello, in VB6 we werr able to make ActiveX-DLL's (In Process Components) and ActiveX-Exe (Out Of Process Components). Out Application is build of one main application that starts other...
1
by: Roy Danon | last post by:
Hi, For some reason while trying to retrieve an existing value from the session object I recieve the following error : Microsoft VBScript runtime (0x800A0007) Out of memory: 'session' What...
0
by: Klemens | last post by:
what do entry's like this in db2diag.log indicate? ------------------------------------------- 2004-01-14-09.07.52.650000 Instance:WWS Node:000 PID:3512(db2syscs.exe) TID:1116 ...
3
by: comp.lang.php | last post by:
I have a counter that evokes the "Three Strikes You're Out" rule.. if you make more than N mistakes it auto-resets to avoid flooding $_SESSION with attempt after attempt, etc. However, the...
7
by: John Layton | last post by:
Hi there, Is it possible to pass null to a function taking an "out" (or "ref") parameter in C#. I'd like to do something like the following (which doesn't compile of course). Thanks in advance....
16
by: saurabhnsit2001 | last post by:
The following program doesn't "seem" to print "hello-out". (Try executing it) #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out");
4
by: Kocureq | last post by:
Hi all, I'm using a default, InProc ASP.NET session provider, ASP.NET 3.5. I want to use a nice flash file uploader. The problem with it is that it can't send cookies with the files, so I...
1
by: nathan.alden | last post by:
I have a Windows application that must "log in" to a remote service. Once logged in, for all subsequent service calls the Windows application should somehow pass a "session context" in each message...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.