----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Sitaraman Message 5 in Discussion Hi agree with Mrinal on using Response.Redirect. The business requirement might require you to use response.redirect. For ex. On submitting Page1, you might need to perform something and show page2 (And in Page2 You might need some values of Page1) As far as standard page-page data persistence goes, you have options of form fields, querystring,session/cookies, viewstate. In your situation, i can sugest two things 1) Accept submit in Page1 Store the Value in a hidden field Use Server.transfer with true as the second parameter to preserve the form fields 2) Accept submit in page1 Store it in the session Response.Redirect to page2 get it from the session Clear it from the session In Option 1 The disdvantage is that you are carrying the whole state of Page1 to Page2 In Option 2 the disadvantage is that the moment u use session, obviously u will have concurrency problems. u need to tweak it to avoid such problems regards, sr ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
