I have an ASP.Net website where users create an application and then proceed to a confirmation page and then a payment page.
This is all working fine but I have an issue when users click the back button on the payment page.
The confirmation page has a Submit button and this creates a record in the database and stores this in a session variable with the intention that if they click the back button on the payment page and then click submit again I can check this value and not create a new record.
However, when the user click the back button on the payment page the confirmation page is reloaded and the session variable is nothing.
This does not make sense to me as I though that the loading of pages from the local cache would not have any affect upon session variables that had been set.
Grateful for any advice regarding this.