Interviews3 answers
What is the difference between Session and response.Redirect?
3 Answers
Session is used to cache data between pages at the same Project, each new user logged has his own Session.
Response.Redirect just send the browser to a new URL.
Jefferson S. MottaPosted Jul 25, 2018, 8:58 AM EDT
Response.Redirect() sends a redirection header to the client, and the client itself requests the new page.
Session:
Session is a server side object, which transfer or access data between page call.
Bharathi RajaPosted Jun 20, 2018, 11:57 PM EDT
we can use response.redirect in both html& aspx pages.
but server.redirect can be used in aspx pages only but at same server
Mukesh KumarPosted Aug 23, 2017, 4:41 AM EDT


