Forums Register Login

how to store login information during ws calls

+Pie Number of slices to send: Send
Hi,

I need help on the following:

I'm to write a Java Web-Service using JAX-WS but the clients might not be written in Java.

The ws has a loginCall(userName,pwd) and my question what is the best way to maintain if user is logged in?

Should I store this information in HTTP session or should client provide it on every ws call?

If I store user data in a session will it break the stateless status of a ws?

Thanks,
+Pie Number of slices to send: Send
Yes peter you can either set this value in session or you can add this value with ws calls as an parameter with the service call.
I found a beautiful pie. And a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 771 times.
Similar Threads
WS Advanced Edition 4.0.3 and session storage
Session timeout in different JVM
how 2 servlets communicates
Creating an HTTP Header
Session within session
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:07:39.