Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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
 
Old April 11th, 2007, 10:17 AM
Registered User
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fail to signout completely

i doing an assignment and when i come to the sign out method i faced problem.

After using the FormsAuthentication.SignOut() method to log out, the value of this session cookie remains
the same and users may be able to hit the back button without my
application prompting for another login. Below is the code i use in my application:

Session.Abandon();
Session.Clear();
FormsAuthentication.SignOut();

Can anyone help me?

Thanks!

 
Old April 11th, 2007, 10:20 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Set your pages not to cache. That should solve your problem.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========
 
Old April 11th, 2007, 11:01 AM
Registered User
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lots!

I now overcome my matter already.






Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Problem with ASP.NET "signout" sharj ASP.NET 1.0 and 1.1 Professional 3 January 23rd, 2006 03:10 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.