mbt masai
 
Welcome !
         

                                
After experiencing a lot of down time, We decided to move this site to CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.

 Logout script using Active Directory

Author Message
wak0

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 12/9/2009
  • Status: offline
Logout script using Active Directory Wednesday, December 09, 2009 8:55 AM (permalink)
0
I have users login to a section on the website using active directory login. Once they are in, i will like for them to logout by clicking on a logout link.

What i want to accomplish with this link is, after a user has click on, they will need to reenter their credentials in order to access the website again, this should happen without closing the browser.

some of the scripts i have use, do not work, example

<% Response.Cookies("cookiename") = "" %>      - no errors but does not accomplish the task


with the one below

<% Response.Cookies("ASPSESSIONIDAQSDCCQQ") = "" %>  

i get this error

Cookies object error 'ASP 0162 : 80004005'
Cannot Modify Cookie
/forms/logoff.asp, line 2
The cookie 'ASPSessionID' cannot be modified. It is a reserved cookie name.


This should be on classic ASP. just because i dont know if ASP.net will work. (newbie here)


#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.8
    mbt shoes www.wileywilson.com