how to use session variable in wcf service?

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

i want replies for the given questions?

1.how 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?)
3.how 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 asp.net session variable and how to retrieve tht session varaible in wcf ?
HttpContext.Current.Session["test"] = "test";-------------storing data in session variable in asp.net

how to retrieve above session varaible in wcf?

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

http://www.eggheadcafe.com/community/csharp/2/10451142/not-able-to-access-aspnet-session-variable-in-wcf-service-web-applica.aspx

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




Responses

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

Up
0
Down
hi

Refer this link
http://msdn.microsoft.com/en-us/library/ms733040.aspx

Regards
Kavi.n

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

Login to post response