Click here to Skip to main content
15,313,293 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I saw one persistent code in code project, its working fine.
But I want to store page before redirecting to Page B
also B needs to be saved while redirecting to A

I found that article in the below link
Persisting the state of a web page


Can any one help me to solve this issue?
Posted
Updated 26-Aug-10 20:05pm
v2
Comments
Ankur\m/ 27-Aug-10 2:06am
   
Never display your mail id on a website. You invite spammers by doing that.
navengates 27-Aug-10 2:26am
   
Thanks, pls refer below URL
codeproject.com/KB/applications/persistentstatepage.aspx

here we able to save one page by using view state

this is called persistance .. now i am able to save one page for ex.


Page A --> Page B ( page A is Saved) B --> A (saved data displayed in A page)


i want to save page B also ...

please refer the URl ..

THanks
vel

1 solution

You can pass values on the query string or store them in the session ? You can't store a page. You can store or pass values from the page.
   
Comments
navengates 27-Aug-10 2:25am
   
Thanks, pls refer below URL
codeproject.com/KB/applications/persistentstatepage.aspx

here we able to save one page by using view state

this is called persistance .. now i am able to save one page for ex.


Page A --> Page B ( page A is Saved) B --> A (saved data displayed in A page)


i want to save page B also ...

please refer the URl ..

THanks
vel
Christian Graus 27-Aug-10 2:32am
   
This article is just storing postback data, from what I can tell. The FACT is that you cannot store a page, you can store whatever state you want from that page, in the session, or you can pass data between pages on the query string, or you can store data within a page, with viewstate. This article must be using one of those mechanisms, or a database, to store page state. It's not saving pages, it's saving their state. That's how web development works. If you have a question for an author, ask them in the forum provided under the article.
navengates 27-Aug-10 4:08am
   
thanks dude

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900