Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Events don't fire !@#$%^&
Message
From
28/05/2004 13:30:47
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00907776
Message ID:
00908240
Views:
28
>>Joe,
>>
>>Do you mean clicking the back button to get to this page, or navigating away from this page by clicking the back button?
>>
>>>Hi Gang,
>>>I have an ASP.NET PO app with the following code set on the html side
>>>
<% if Session("Finalized") = true then Response.Redirect("ThankYou.html")
>>><meta http-equiv="expires" content="January 1,2004">
>>>I NEED the page to at least run the page load event or respect the redirect above when the user clicks on the browsers back button. If you refresh everything works great otherwise no effect.
>>>I get the same results with
>>>
<meta http-equiv="expires" content="0">
>>>
>>>My thanks in advance,
>
>clicking back to get to this page.

Joe,

It doesn't make any difference to .NET how you navigate to the page - except the HTTP_REFERRER in the header, which doesn't affect the code. The Page_Load is still firing. Additionally, the session state should not have expired yet. The only thing I can think of is to remove the expires meta-tag completely.

Can you set a breakpoint on the inline code?
Previous
Reply
Map
View

Click here to load this message in the networking platform