RE: data disappearing problem on the forms when navigate



Hi Betty,

As for the data disappearing problem when swtiching page through the 
browser's back/forward button, it's the expected behavior because different 
pages are displayed in browser through different http requests to server. 
When we use back button of browser, it may display the previous page with 
input fields filled since the page is retrieved from cache. However, when 
go forward again, the page is requested again from serverside, then the 
input fields on the page will be the initial state(empty). And for such 
scenario I think your current approach that using session state to store 
the temp data is reasonable, and the only drawback is that we have to clear 
the session data as soon as possible(right after we finish using them) so 
as to avoid occupying too much server resource...

BTW, if you feel it possible that we  put the wizard/multiple steps like 
user interface in single page, you can consider my suggestion on using the 
ASP.NET 2.0's wizard control as mentioned in your another thread.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no 
rights.)

.