WS Instance

Discussion in 'ASP .Net Web Services' started by Lauren, Sep 29, 2009.

  1. Lauren

    Lauren 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.
    Lauren, Sep 29, 2009
    #1
    1. Advertising

  2. Lauren

    milop 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" <> wrote in message
    news:...
    > 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, Oct 16, 2009
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chris brat
    Replies:
    1
    Views:
    635
    chris brat
    May 10, 2006
  2. Sridhar R
    Replies:
    14
    Views:
    1,400
    =?iso-8859-1?Q?Fran=E7ois?= Pinard
    Feb 10, 2004
  3. Kent Johnson
    Replies:
    4
    Views:
    407
    Terry Hancock
    Nov 13, 2004
  4. Gerry Sutton
    Replies:
    1
    Views:
    538
    Peter Otten
    Apr 16, 2005
  5. Gerard Flanagan
    Replies:
    3
    Views:
    447
    Terry Hancock
    Nov 19, 2005
Loading...

Share This Page