Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #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()
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.