Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 15, 2012 12:59 PM by kushalrdalal
Participant
887 Points
799 Posts
Aug 14, 2012 07:11 PM|LINK
Hi,
How do we handle multiple sessions in WebServices
For Example if upon one Request one session would be created at server side, multiple sessions create multiple request.
How do i handle it
Thank you
Contributor
7130 Points
1273 Posts
Aug 14, 2012 08:59 PM|LINK
Basically you have to assign the way you want to handle -
There are three way -
Per Call
Per Session and
Single
If you assign Per Session then WCF will automatically create session for each request.
Check this link-
http://www.codeproject.com/Articles/86007/3-ways-to-do-WCF-instance-management-Per-call-Per
http://msdn.microsoft.com/en-us/magazine/cc163590.aspx
Aug 15, 2012 05:14 AM|LINK
I am talking about Webservice, should Single Call, Per Session and single avaliable in Webservice
Aug 15, 2012 12:59 PM|LINK
Yes.
They are for web service.
tahazubairah...
Participant
887 Points
799 Posts
Multiple sessions in Webservice
Aug 14, 2012 07:11 PM|LINK
Hi,
How do we handle multiple sessions in WebServices
For Example if upon one Request one session would be created at server side, multiple sessions create multiple request.
How do i handle it
Thank you
Taha Zubair Ahmed
http://www.tahazubair.blogspot.com
kushalrdalal
Contributor
7130 Points
1273 Posts
Re: Multiple sessions in Webservice
Aug 14, 2012 08:59 PM|LINK
Basically you have to assign the way you want to handle -
There are three way -
Per Call
Per Session and
Single
If you assign Per Session then WCF will automatically create session for each request.
Check this link-
http://www.codeproject.com/Articles/86007/3-ways-to-do-WCF-instance-management-Per-call-Per
http://msdn.microsoft.com/en-us/magazine/cc163590.aspx
My Blog
LinkedIn Profile
tahazubairah...
Participant
887 Points
799 Posts
Re: Multiple sessions in Webservice
Aug 15, 2012 05:14 AM|LINK
I am talking about Webservice, should Single Call, Per Session and single avaliable in Webservice
Taha Zubair Ahmed
http://www.tahazubair.blogspot.com
kushalrdalal
Contributor
7130 Points
1273 Posts
Re: Multiple sessions in Webservice
Aug 15, 2012 12:59 PM|LINK
Yes.
They are for web service.
My Blog
LinkedIn Profile