Main Page | Report this Page
.NET DotNet Forum Index  »  ASP.NET - Webservices Forum  »  WS Instance...
Page 1 of 1    

WS Instance...

Author Message
Lauren...
Posted: Tue Sep 29, 2009 8:47 am
Guest
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.
 
milop...
Posted: Fri Oct 16, 2009 2:32 pm
Guest
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.

"Lauren" <laurenmilk09 at (no spam) hotmail.com> wrote in message
news:ersZ1ORQKHA.352 at (no spam) TK2MSFTNGP02.phx.gbl...
Quote:
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.
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 2:13 pm