I loose the session on the client side
-
i have an windows application that is a client for my web service ,where i use sessions to keep if someone is logged in ! but every time i call i new method from the client application , the web service does not remember that i had logged in just before to calle that methot! pls help .. Thanks!
-
i have an windows application that is a client for my web service ,where i use sessions to keep if someone is logged in ! but every time i call i new method from the client application , the web service does not remember that i had logged in just before to calle that methot! pls help .. Thanks!
-
You have to get the cookies that the server returns when you are logging in, and send them back to the server in every request for the server to be able to identify the session. --- b { font-weight: normal; }
can i learn fast to work with cookies, if its simple i mean if i could make it in 10 minutes ...could u give me a simple example? if its not simple i will make it in a different way... -- modified at 7:10 Sunday 18th June, 2006
-
can i learn fast to work with cookies, if its simple i mean if i could make it in 10 minutes ...could u give me a simple example? if its not simple i will make it in a different way... -- modified at 7:10 Sunday 18th June, 2006
You don't have to .net framework allready has the functionality for this. You just have to set the CookieContainer property of the client service with CookieContainer instance and also you must take care to use the same container on every call if you want to use the same session. damianbc