Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 18983 |  Welcome, Guest!   Register  Login
 Home > Forums > WCF > how to use session variable in wcf service? ...
Divs99

how to use session variable in wcf service?

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


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...................................


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Kavi.Sirius
Kavi.Sirius  
Posted on: 5/28/2012 12:09:23 AM
Level: Starter | Status: [Member] | Points: 25

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

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/20/2013 2:01:17 AM