In my WebService users send response and get response easily. WebService maintains
.net session for the validations and for keep track of another mandatory information.
But now i want to ask that if a single user send request to a webservice if a single time its work fine and happily, but if same user sends multiple request that what happened.
I am afraid new session will replace the old session.
I want to ask that what should i do if a webservice receives a multiple request and need to send different response simultaneously.
but if same user sends multiple request that what happened.
I am afraid new session will replace the old session.
If the following request sent before the previous session time out, it will extend the session time out value. But if the following request sent after the previous session time out, of course a new session will be created. :)
No matter how much time you spend on coding. Wish you happy coding.
My Technical Blog
If the following request sent before the previous session time out, it will extend the session time out value. But if the following request sent after the previous session time out, of course a new session will be created. :)
You describing the very easy flow of Application if more than 10 files drop in a folder simulatenously, what would be happend.
off course mis match wiht old one what is the solution of this if this type of scneario comes.........
tahazubairah...
Participant
887 Points
799 Posts
Multiple response of WebService simultaneously
Dec 06, 2012 02:36 AM|LINK
Asslam-o-Alaikum..
In my WebService users send response and get response easily. WebService maintains .net session for the validations and for keep track of another mandatory information.
But now i want to ask that if a single user send request to a webservice if a single time its work fine and happily, but if same user sends multiple request that what happened.
I am afraid new session will replace the old session.
I want to ask that what should i do if a webservice receives a multiple request and need to send different response simultaneously.
Please advice.
Thanks
Taha Zubair Ahmed
http://www.tahazubair.blogspot.com
CruzerB
Contributor
5399 Points
1098 Posts
Re: Multiple response of WebService simultaneously
Dec 06, 2012 02:59 AM|LINK
Hi,
If the following request sent before the previous session time out, it will extend the session time out value. But if the following request sent after the previous session time out, of course a new session will be created. :)
My Technical Blog
tahazubairah...
Participant
887 Points
799 Posts
Re: Multiple response of WebService simultaneously
Dec 06, 2012 07:10 PM|LINK
You describing the very easy flow of Application if more than 10 files drop in a folder simulatenously, what would be happend.
off course mis match wiht old one what is the solution of this if this type of scneario comes.........
Taha Zubair Ahmed
http://www.tahazubair.blogspot.com
CruzerB
Contributor
5399 Points
1098 Posts
Re: Multiple response of WebService simultaneously
Dec 07, 2012 12:13 AM|LINK
May I know the requirement for this scenario? Only 1 file can be created or the system has to create a file for each request?
How the file name constructed? If using GUID then the file name shouldn't be overwrited.
My Technical Blog