Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which approach to use?
Message
From
06/03/2002 14:05:14
 
 
To
05/03/2002 17:03:31
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00628713
Message ID:
00629169
Views:
18
>First of all, we do not want the user to submit the authentication for every method call by the use of two additional parameters.

First of all, why is this? Lets take for example, a VBScript that simple pops up a dialog box that tells you if there are UT replies waiting for you.

You could simply do:

oUT.GetReplies("username", "password")

and do it all. Why make it any more complex than that? Why require 3 round trips to the server to do one thing?

Also, would it be possible to send the username and password on every hit, but also allow for the header mechanism? That way, if you are using the header, or the cookie based, you can send blanks as the first two parameters? Otherwise, you can call the same method but pass the username and password, making it useable from any platform?

Or.... how about creating multiple methods? One accepts the Username and Password and one doesn't?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform