How the session work in asp.net?

后端 未结 2 1543
耶瑟儿~
耶瑟儿~ 2020-12-13 09:40

Please any one suggest me how the session is actually work in asp.net? I am confuse in part of session and want to briefly knowledge of it so please guide me

2条回答
  •  情歌与酒
    2020-12-13 09:59

    Session: [Stored on Server side]

    1.If you create the session means,the server stores your session data and creates one SessionID . [Session Data with SessionID stored in State Provider in Server]

    2.Then the server Returns the SessionID to the client's browser.

    3.Then you can store the returned SessionID in Cookie.

    4.Upcoming Subsequent request attached with SessionID can access the Server Data.

    Note: Session only for current browser Session and user specific.

提交回复
热议问题