Commerce Server General - Using Server.Transfer instead of Response.Redirect to pass user credentials to the Aut

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > March 2004 > Using Server.Transfer instead of Response.Redirect to pass user credentials to the Aut





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using Server.Transfer instead of Response.Redirect to pass user credentials to the Aut
Ravi Shankar

2004-03-18, 1:55 pm

Brian,

You're correct in saying that Server.Transfer would
eliminate the trip back to the client but you should
remember that all pages obtain the authentication
credentials from the ticket & cookie information set on
the client. In server.transfer this would not happen and
so the code would not be able preset certain context
variables.

HTH.
>-----Original Message-----
>Hello all,
>
>As far as I know, you have to pass the user credentials

(ex: UserID,
>and password) through the URL for AuthFilter to retrieve

them and pass
>them to IIS for authentication. One of the code sample

accomplished
>this by using the response.redirect.
>
>ex: Response.Redirect
>"http://SomeWebPage.asp?

proxyuser=UserID&proxypwd=Password"
>
>Can you use Server.Transfer instead of

Response.Redirect? This way the
>client browser will never access the user credentials in

the URL.
>
>Thanks in advance!
>
>Brian
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com