Add Birthday
how can we explicitly kill session?
2 replies to this topic
Gaurav Dutt
#1
|
Member
62
Points
|
Posted on
21 Nov 2011 05:19 PM IST
hi, i want to kill session explicity. I write session["email"].Abandon();
is it right?
|
Dot Net
987
views
Reply to this topic
|
MalliKarjuna Cherukuri
#2
|
Member
52
Points
|
Replied on
24 Nov 2011 07:29 AM IST
No.
If you want to kill all objects of a session then you have to use "Session.Abandon()".
If you want to kill particular object of session then you have to use
"Session.["Object Name"]=null"
|
Reply to this topic
|
Gaurav Dutt
#3
|
Member
62
Points
|
Replied on
25 Nov 2011 06:48 AM IST
thanks,
|
Reply to this topic
|
|
|