WS Instance

L

Lauren

Hi, i´m developing a ws in c# + VS 2008.

When a client call to the ws pass it a username and password to
authenticate. My cuestion is: how can i restrict the access to the ws and
that the client can´t make two calls at the sime time ? It´s possible ?

Thanks in advance.
 
M

milop

Can't make two calls at one time.

Typically you authenticate with user/password and receive a session token.
You'll have to maintain the state of the token (e.g. Expired, Active, etc.).
Then add a token parameter to your web methods, along with your other
methods.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top