|
The winform client must execute the following code:
ser1 = New localhost.Service1'This is a web service object
ser1.CookieContainer = New System.Net.CookieContainer'This is very important
In this way, the session use on the server side is no problem, IIS default session expiration time is 20 minutes. |
|