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 1st, 2006, 06:45 AM
Authorized User
 
Join Date: Jan 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default Signout Prolem

Hi All.......

Well i have a little tricky problem.....

When click the signout button from signout.aspx page using the FormsAuthentication.Signout(); it redirects me to the default.aspx page, thats fine but the real problem is here...

When i click the back button of IE, it sends me again to the previous page(signout.aspx). I don't want to go back to signout.aspx page when i click the back button of IE.

I am pretty sure any of you have the solution....and thanks in advance for your reply.....


Abdul Ghaffar




 
Old April 1st, 2006, 07:09 AM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think you can disable the ie back button by using javascript. hope this can help.

 
Old April 3rd, 2006, 06:16 AM
Authorized User
 
Join Date: Jan 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default

Quote:
quote:Originally posted by hunzian78@yahoo.com
 Hi All.......

Well i have a little tricky problem.....

When I click the signout button from signout.aspx page using the FormsAuthentication.Signout(); Response.Redirect("default.aspx");it redirects me to the default.aspx page, thats fine but the real problem is here...

When i click the back button of IE, it sends me again to the previous page(signout.aspx). I don't want to go back to signout.aspx page when i click the back button of IE.

I am pretty sure any of you have the solution....and thanks in advance for your reply.....


Abdul Ghaffar
How will i disable the BACK button of IE through Java Script when i Signout from signout.aspx page......

I hope you are going to give me some clues.........

 
Old April 4th, 2006, 03:01 AM
Authorized User
 
Join Date: Mar 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

is a simple java script sentence.
<script>
if(history.length>0) history.go(+1);
</script>

 
Old April 5th, 2006, 01:59 AM
Authorized User
 
Join Date: Jan 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hunzian78@yahoo.com
Default

Quote:
quote:Originally posted by annie_stwg
 is a simple java script sentence.
<script>
if(history.length>0) history.go(+1);
</script>

thanks annie for your reply ..........i will try out to fix out the bug.....

Abdul Ghaffar






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
comma split prolem keyvanjan Classic ASP Basics 4 May 2nd, 2006 01:55 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
prolem in connection pools Upendra Verma J2EE 2 September 10th, 2004 12:43 AM





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