Because HTTP and Web Server are both stateless, the only method to preserve a session is for the server and client to exchange some unique information about the session (session id) in each request and response. We can provide a unique identification in request and response in a variety of methods.
The term "session" merely refers to a certain period of time. Session tracking is a method of keeping track of a user's current state (data). It's also known as servlet session management. Because the HTTP protocol is stateless, we must use session tracking mechanisms to retain state.
Cookies.
Hidden Form Field.
URL Rewriting.
HttpSession.
three types of session in asp.net:
inprocess session.
out Process session.
SQl-server session.
Use the HttpServletRequest method getSession() to create a new session or obtain access to an existing one, as seen in the following example: mySession = request. getSession(); HttpSession mySession = request. getSession();
Learner's Ratings
4.6
Overall Rating
86%
0%
5%
5%
4%
Reviews
PATIL KUNAL SUNILBHAI
5
Fabulous learning experience
A
AMAN KUMAR
5
Very nice teaching.
S
Samiul Basir
5
She is best instructor I've ever learned.
S
Sujit babu
5
GREAT TEACHER ❤❤❤❤❤❤❤😍😍😍😍😘😘😘💕💕💕💕
R
Rajnish Kumar
5
ma'am this session is very well ma'am please prove Django
9
90videos Challenge5
5
Very good teching Thank You mam
A
Aditya Singh
5
Great learning experience, can we get the slides used in the lecture ?
P
prachi jadhav
5
Good platform to learn
E
Er Komal Gupta
5
very nice understandable....thanku mam
A
Ayush Kumar Tatia
5
Mam genuinely thankyou for making it so good , Bhagwaan aapko bhot aage le jaaye , rich log aapke content dekh ke certificate le , i truly wish 😊, mae hi baad mae pay krunge because i be rich futur😊
Share a personalized message with your friends.