What sort of authentication is on the other server? Is it OS based (i.e. set up in IIS / Windows) or is it handled by the app (i.e. form submission)? If it's the latter, could you great a form with hidden fields containing the username / password and submit it using javascript? Bit of a bodge though. Dan www.diado.com
-----Original Message----- From: Mingle [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 17:25 To: [EMAIL PROTECTED] Subject: Re: [AspClassicAnyQuestionIsOk] Re: Help Needed ..Urgent !!! Yup, I agree that Session variables are not a solution. I am able to pass the Username & Password info to this Secure Client Page by XML Http Object. And am not able to redirect it to their URL. I am getting their HTML Content and its getting pasted in the ASP page which does the Message Passing. Whereas, I want it to pass the information at the same time redirect to their URL also. On Thu, 30 Sep 2004 10:07:47 -0600, pfrenchy <[EMAIL PROTECTED]> wrote: > Session variables are stored on your server that wont work when you enter other > server it cannot see you server session variables.You will have to use a clientside > cookie to pass your username and password or sometype of variable that will trick > the other server into thinking your client is already loggrd in. I am not sure how > to set this up but mabe it will help you figure it out. > ----- Original Message ----- > From: minglemehta38 > To: [EMAIL PROTECTED] > Sent: Thursday, September 30, 2004 8:56 AM > Subject: [AspClassicAnyQuestionIsOk] Re: Help Needed ..Urgent !!! > > I guess My question is not well understood. Let me explain in other > words. > > User logs in our Website, and I store his Username & Password Info > using Session variables. Now, on clicking one of the Links he has to > be redirected to one of our Client's Website. This Client's Website > requires a DIFFERENT Username and Password to enter and is on > completely different Server than ours and we have abs no control > over it. But since User's have logged in our Site , that DIFFERENT > Username & Password required to access our Client's Website > shouldn't be asked to them. > > HOWEVER, that info needs to be fed to enter their Site. > As of now I am able to feed in UserName & Password using xml htttp > Object but unable to Redirect to that Client's Page ... > Here is the COde I have written ---------- > > ------------------------Serverpost.asp----------------------------- > > <HTML> > <HEAD> > <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"> > <TITLE></TITLE> > </HEAD> > <BODY> > <P><[EMAIL PROTECTED]></P> > > <P><BR> > <% > Response.Buffer = true > Dim sLink, xmlHttp > Dim retStr, strOpen > > ' Url to which we need to redirect > sLink = " http://www.-------.com/_____ .html" > > on error resume next > set xmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0") > > xmlHttp.open "GET", sLink, false, username,password > xmlHttp.send > > If Err.Number = 0 Then 'if no error occurred > retStr = xmlHttp.responseText 'wait for receive response from > server > Else > retStr = "URL Not Found" 'error message > End If > > Set xmlHttp = nothing 'free the object > > Response.Write(retStr) > > %> > > </BODY> > </HTML> > > --------------------------------------------------------------------- > ------------ > > EXPECTED : THE Page should be redirected to sLink by feeding > Username & Passowrd. > CURRENTLY : I am able to feed the information and able to retrieve > just the ResponseText ie HTML Body of the target page but unable to > redirect to that Page. > As in my Target Body is getting pasted in Serverpost.asp only .... > > I hope the question is understood. Its NOT ABT how I should store > Our Users Login Info when he Log's In. > > --- In [EMAIL PROTECTED], GHULAM QADIR > <[EMAIL PROTECTED]> wrote: > > hi > > > > usd = request.form("userid") > > pwd = request.form("password") > > > > session("a")=usd > > session("b")=pwd > > > > your session veriable ready . > > > > if you next page sedn request > > > > > > response.redirect("next.asp"); > > > > --------- > > next.asp > > -------- > > > > if sesion("a") is null and session("b") is null then > > response.redirect("login.asp"); > > else > > > > response.redirect("shopping_page.asp"); > > > > end if > > > > > > > > if any questuin [EMAIL PROTECTED] on chat i am > > averiable. > > > > > > > > > hi dear > > > you can use session variable. > > > when user login in ur web site store user name and > > > password in session varible ,then u redirect the > > > user > > > to another website > > > --- minglemehta38 <[EMAIL PROTECTED]> wrote: > > > > > > > I need to redirect the User who is logged in our > > > > Site to another > > > > WebSite. But that Web-Page asks for USERNAME and > > > > Password. SInce the > > > > Users have Logged into Our Site , they should be > > > > able to directly > > > > Get to other Page without Logging In. > > > > > > > > I was able to Login to that other Page by > > > supplying > > > > USERNAME & > > > > PASSWORD via an XML HTTP Object, but unable to > > > > redirect to that > > > > Page. > > > > > > > > As in I am Just able to fetch the ResponseText of > > > > the URL but not > > > > able to Redirect to that URL. > > > > > > > > Any Suggestion ?? > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________ > > > Do you Yahoo!? > > > Declare Yourself - Register online to vote today! > > > http://vote.yahoo.com > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail Address AutoComplete - You start. We finish. > > http://promotions.yahoo.com/new_mail > > Yahoo! Groups Sponsor > ADVERTISEMENT > > ------------------------------------------------------------------------------ > Yahoo! Groups Links > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ > > b.. To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > [Non-text portions of this message have been removed] > > > > > > Yahoo! Groups Links > > > > > -- Mingle Work Smarter not Harder Yahoo! Groups Sponsor ADVERTISEMENT <http://us.ard.yahoo.com/SIG=1291s5v0n/M=295196.4901138.6071305.3001176/D=groups/S=1705006764:HM/EXP=1096647930/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> click here <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=983169387> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
