简体   繁体   中英

Best practicies to store session information in soap client app

I am developing an application which consumes soap service. Before using service methods my application calls authentication method which returns session information. I need to add this information to each soap request. Is there any best practicies to store this session information?

Best regards, Alex

You use any of the approaches mentioned above. The dot net framework does provide the EnableSession attribute. You may make use of it. Hope the below link helps :

http://msdn.microsoft.com/en-us/library/system.web.services.webmethodattribute.enablesession(v=vs.110).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM