how to use session variable in wcf service?

Posted by Divs99 under WCF on 5/27/2012 | Points: 10 | Views : 27842 | Status : [Member] | Replies : 1

i want replies for the given questions? many types of sessions and session modes in wcf?
2.which session mode is used at which case in wcf?( at which case we have to use?wht is its use and purpose?) to use sessions in wcf?
4.pls let me know when this session modes use in which case?
a.Sessionful binding b.SessionMode service contract c.InstanceContextMode service behavior
5.i decalred session variable and how to retrieve tht session varaible in wcf ?
HttpContext.Current.Session["test"] = "test";-------------storing data in session variable in

how to retrieve above session varaible in wcf?

6.pls see my below code snippet in the given link

pls help me out...................................


Posted by: Kavi.Sirius on: 5/28/2012 [Member] Starter | Points: 25


Refer this link


Divs99, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response