Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 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
 
Old December 4th, 2006, 08:57 AM
Registered User
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dayaananthanm
Default Logout problem

hi,

I'm building a .NET based login pages and was wondering how do i prevent users from going back to the previous page by clicking the back button. When i've logged out of my secured pages, using FormsAuthentication.SignOut() , i'm still able to reach the secured pages by clicking on back. I've noticed that some other secure sites like yahoo mail and hotmail have done it successfully. When user click on the back button, a message saying ' the session has already expired' kind of stuff.


M.Dayananthan - Make New Ideas That Make Your Work Interesting!!
 
Old December 5th, 2006, 11:33 AM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think it is important that your application prevent or try to prevent browsers from caching those pages, otherwise it will be out of your control.

Neil Timmerman
Programmer
Veris Consulting
 
Old December 7th, 2006, 04:57 AM
Registered User
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to dayaananthanm
Default

Thanks for ur reply.....But i applied caching for the particular page and its not working....

M.Dayananthan - Make New Ideas That Make Your Work Interesting!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
logout problem badboy1 ASP.NET 3.5 Basics 3 July 22nd, 2008 08:32 AM
Logout Problem birari Classic ASP Basics 7 September 1st, 2006 12:22 AM
Logout problem xylo ASP.NET 2.0 Basics 1 July 8th, 2005 05:44 AM
login logout problem... sunmeet122 Classic ASP Professional 2 April 15th, 2004 09:47 PM





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