How can save and read data into the session state for user name and password?
-
I am not understand session state or view state. please!
-
I am not understand session state or view state. please!
Hi, Refer below link for what is session state and how to save and read values in session state. http://msdn.microsoft.com/en-us/library/6ad7zeeb.aspx[^] Brief about session state and view state: View State are valid mainly during postbacks and information is stored in client only. Viewstate are valid for serializable data only. Moreover Viewstate are not secured as data is exposed to client.It get stored in browser. Although we can configure page directive and machine key to make view state encrypted. Session State- this is user specific data that is stored in server memory . Session state is valid for any type of objects. We can take help of session through different web pages also. But yes this is valid till that user's session. Hope this is of help. Cheers Shilpa