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.
http://support.microsoft.com/kb/307598
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
http://msdn.microsoft.com/en-us/library/ms178194.aspx
Best Regards,
Puneet Sharma - Infosys
Pune, India
Rajesh11may, if this helps please login to Mark As Answer. |
Reply | Alert Moderator