Oct 27, 2015

Where Session ID Stores in Asp.net?

Session Data is always stored in Server(May be store in sqlserver or Out of Proc depend upon your choice ) and Server always generate a Session Id for each session this id by default store in user's memory in form of Cookie.This Cookie is only set of Characters like 'lin8py55t21z5v65vlm25s55' . If cookie are disabled then session id will attach with Url. Url without Cookie: http://www.Indiaonline.com/page.aspx Url with Cookie : http://www.Indiaonline.com/(S(lin8py55t21z5v65vlm25s55))/page.aspx This Method is not good because some user can save this url as Bookmarks.Then it will generate problems

No comments:

Post a Comment