When Client makes the first request, web server will allocate the block of memory uniquely to client on server system . This is called Session.
The session memory will be maintained by web server with the timeout of 20 minutes by default.
Session object is provided to access session memory from asp.net . this provides some methods.
The session memory will be maintained by web server with the timeout of 20 minutes by default.
Session object is provided to access session memory from asp.net . this provides some methods.
- add(key,value)
example : session.add("n",100)
or
session["n"]=100;
It will place variable into session memory
- remove(key): It will remove the variable from session memory.
example : session.Remove("n");
No comments:
Post a Comment