>>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?