Hello,
I have WebService client (predetermined) and I have to write WebService server. Client send few request to my server and I have to store all data. Clients has own session ID which send me in every request. Is there any solution in c# that I determine, based on request sessionID, to get/create current session?
UPDATE:
Maybe I don't have knowledge to know what I want:( Client can authenticating and ask some question to server, but I don't know if he logout. Example: Person A login to application in hostA and authenticate to my server, ask some question and logout in application (but server doesn't know about this). Person B login to hostA and start asking questing (only ID in request changes). Ok, I can check if requestID have change and if so a can clean session and ask for authenticate..... but.....
If I have right session is simple, thread-safe dictionary which expired when exceeds the specified time-out value and is create in background (by cookie etc.) and I wonder if is something like this with method Session.Start(string RequestID) which get or create new session (if session RequestId doesn't exist).
Sorry for my english.