These are a bit vast concepts and can't be explained on the forum still the simple overview but the links added for details :
Session : Server Side objects for saving your data for the session you are using the site, there is a time for which these objects stay in the memory and that is defined in web.config for session state section otherwise 20 mins by default.
Cookies: Client Side objects for saving your data for the site you are using, we need to set the time expiaration for these objects by default unlimited life time they possess
Puneet Sharma - Infosys
Rajesh11may, if this helps please login to Mark As Answer. |
Reply | Alert Moderator