Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

session management in web services?

is it possible to manage sessions in web-services? if yes, how to manage session in it? is it similar to sessions we maintain in JSP or PHP? where does the info about the session will be stored, Client or Server?

like image 356
brainless Avatar asked Feb 26 '23 12:02

brainless


1 Answers

It's possible to use the Session object in .NET inside of a webservice...however I'd say it is bad practice. Typically speaking a webservice isn't passed data this way and the data in the service doesn't persist between calls.

like image 122
Achilles Avatar answered Mar 02 '23 00:03

Achilles