Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 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 September 30th, 2004, 10:42 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default Forms based authentication

Hi Friends

Can you please help with my query, I am using Forms based authentication, I have a login & logout button. Now when I logout, I use the command below:

Formsauthentication.signout()
server.transfer("homepage.aspx")

Now comes the main problem, when I hit the back or forward button of the browser, I still see that I am logged in and all my details are visible. Can u please let me know how do I rectify this so that when I click the logout button, my details are vanished and even using the back button, my details are not displayed.

Thanks friends, its urgent.

Mike

__________________
Regards
Mike
 
Old October 2nd, 2004, 10:38 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You would need to set all the pages so they are not cached, or so they expire immediately which will acheive the same thing. When you hit "back", the browser will re-request the page. When the page is requested, you won't be logged in any more so it should then kick you back to the login page.
 
Old October 5th, 2004, 12:14 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi Planoie

Thanks friend, I try but couldn't succeed. Can you please give me the codes in vb.net so that I can successfully complete my project.

Please its really urgent.

Thanks
Mike

 
Old October 5th, 2004, 07:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you post your code so we can see what you did?

 
Old October 5th, 2004, 04:13 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Yes, please post your code. We aren't going to do your work for you, but are quite happy to help with specific errors.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Form based Authentication shujamughal ASP.NET 2.0 Professional 3 May 25th, 2007 05:34 AM
Form based authentication.... avanishp General .NET 2 June 17th, 2005 03:11 AM
Authentication and Role-Based Security swandown ASP.NET 1.0 and 1.1 Basics 0 October 11th, 2004 04:07 PM
Chapter 20 -Forms based Authentication bshay BOOK: Beginning ASP.NET 1.0 2 October 7th, 2003 09:17 AM





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