Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
add new asp:textbox control to the web page

start run-> http://localhost:.....default.aspx page

display that textbox. i entered value in to the textbox example:- sample

ofter i will close the webpage and again open means the textbox fail to keep the value .

how can i save the values.when webpage is closed.
Posted

1 solution

If you are closing the page and not browser the you can use any server side state management like session or cache or application. If you are closing the browser then you will have to use cookies to do this.
 
Share this answer
 

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