Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 8th, 2005, 10:46 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with ASP.NET "signout"

When the method SignOut() was called, I would redirect the webpage to the login page, thinking that the SignOut() method would have deleted the cookie (as it should)

However, when I clicked back to see if the SignOut() method is working properly, I was told that the page has expired. But I am surprised to see that I could still access the private data if I pressed the Refresh button.

Anyone has any idea how to get around this problem? Thanks in advance for who that reply. :)


  #2 (permalink)  
Old December 12th, 2005, 04:44 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This might be a problem with page caching. If the browser or any upstream software/hardware is caching the page, then the browser request won't hit the server which would know the page can't be accessed and refuse access to it.

You might have to play around with cache settings to solve this.

-Peter
  #3 (permalink)  
Old January 10th, 2006, 06:32 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for your reply! : ) It does make a lot of sense, why didn't I think of it.

So I have tried means to clear the cache but to no avail. Does anyone know of a "cheap" and convenient way to do so?

  #4 (permalink)  
Old January 23rd, 2006, 03:10 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think there is nothing to do with caching.
I think it have to be related to session, many people think that Session and Authentication are the same and they don't. You can SignOut user but Session variables are still there.
Try Session.Abandon() then your FormsAuthentication.SignOut()


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to signout completely SpringSummer ASP.NET 1.0 and 1.1 Basics 2 April 11th, 2007 11:01 AM
Signout Not Working ~Bean~ ASP.NET 1.0 and 1.1 Basics 5 July 12th, 2006 08:35 AM
Signout Prolem hunzian78@yahoo.com ASP.NET 1.0 and 1.1 Basics 4 April 5th, 2006 01:59 AM
SignOut is broken? cohansh1 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 June 21st, 2005 01:09 AM
the err of SignOut allanhu BOOK: ASP.NET Website Programming Problem-Design-Solution 3 May 3rd, 2005 09:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.