|
Accordiong to the Authentication XML Web Service WebMethod in the TaskVision Source Code (C#), we know that the value of the ticket is cached for two minutes on the server after it is issued.
**********code********
[WebMethod()] public string GetAuthorizationTicket(string userName, string password) { ........ // cache the ticket Context.Cache.Insert(encryptedTicket, userID, null, DateTime.Now.AddMinutes(timeout), TimeSpan.Zero); ...... }
*********end code****** It means that that tickets are only maintained in this list for two minutes, client applications are forced to re-authenticate if it wants to access the web service again two minutes later.
But, the question is ,when I test the TaskVision Application, I found that it did not force me to re-login, I can always work online, not need to input the user name and password again.
I want to know why?Thanks a lot!
Email : robin92512@yahoo.com.cn |