-----------------------------------------------------------

New Message on cochindotnet

-----------------------------------------------------------
From: VishalRJoshi
Message 1 in Discussion



Our Simple Response.Redirect 
method

Whenever Response.Redirect line is executed the 
browser gets a HTTP status code of 302 from the server indicating it to GET/POST 
again to the new URL provided... This means that the page does one more round 
trip to the server to a different URL... Most of the browsers use GET request to 
comply with HTTP standards, coz if they use POST then they would have to prompt 
the user for permission... In any case there is a performance hit of posting 
twice with Response.Redirect... Most of the cases this difference is not visible 
to the user so we don't care...

If you are very careful on performance 
then use Server.Transfer instead... Also note that your form variables are not 
available in the next page in case of Response.Redirect; in case of 
Server.Transfer the data submitted by the user is preserved...

Well I 
think this is long enough for a tip, so I will include the rest of the info 
in a small article... 


Vishal Joshi
Microsoft MVP .Net
If You 
Think YOU CAN... You Can...
http://VishalJoshi.Blogspot.com
http://www.microsoft.com/india/mvp/indiamvp.aspx
http://groups.msn.com/ChennaiNetUserGroup
http://groups.msn.com/CNUG-DAM
http://groups.msn.com/NetBloomingtonUserGroup

PS: 1.) If any of you want to be removed from the list please send a 
mail to [EMAIL PROTECTED] with a 
subject
        "Silly Me!! I want to 
unsubscribe"... :-)
       2.) If you need to 
see archive of Tips visit my blog site at http://VishalJoshi.Blogspot.com







-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/CochinDotNet/_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]

Reply via email to