incomplete
incomplete

Reputation: 546

how to retrieve all information when coming back to the page previously visited

There are two pages page1.aspx and page2.aspx page1 contains two tables. after submitting page1 it redirects to page2. now when i'm trying to come back to page1 all data are gone. Is there a way to retrieve those data when coming back from page2?

Upvotes: 1

Views: 148

Answers (2)

Nick Spiers
Nick Spiers

Reputation: 2354

A couple of links explain the behavior and how to use it.

HTTP is a stateless protocol.

ASP.NET Web Forms has a few state management options.

Upvotes: 0

KV Prajapati
KV Prajapati

Reputation: 94645

You may use Session dictionary to store data. If you are willing to change your page design then use MultiView and View asp.net control, in that no need to create two pages.

Upvotes: 1

Related Questions