Re: Posting to another server and end up there?
From: Steven Burn (pvt_at_noyb.com)
Date: 09/22/04
- Next message: Wayne Wengert: "Re: Copy Text To Clipboard"
- Previous message: Larry Bud: "Re: Web Design for ASP"
- In reply to: John Dalberg: "Re: Posting to another server and end up there?"
- Next in thread: John Dalberg: "Re: Posting to another server and end up there?"
- Reply: John Dalberg: "Re: Posting to another server and end up there?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Sep 2004 20:15:30 +0100
> That's why I wanted to do it in a pure asp.net way.
Ah.... I've a feeling this has contributed to the confusion as this NG is
for classic ASP.
-- Regards Steven Burn Ur I.T. Mate Group www.it-mate.co.uk Keeping it FREE! "John Dalberg" <john_dd@hotmail.com> wrote in message news:1o3xfej61t9q3$.srzebtuzcfxk$.dlg@40tude.net... > On Wed, 22 Sep 2004 17:37:41 +0100, Steven Burn wrote: > > >> AFAIK, response.redirect tells the browser to go to a certain url and get > >> it so basically I am starting at the remote login page, which I do not > >> want. What needs to happen is the browser needs to think it already logged > >> in on the other server. > > > > Am I right in thinking, a cookie is set upon successful authorisation?, if > > so, this may be where the problem is as it could quite possibly be a case of > > the cookie being tied to your first (login) domain, instead of the domain > > you are querying/wanting to go to. > > > > If not, what does the second URL usually use? (cookies, sessions etc?) > > There are no cookies set. I cleared the cookie file in Firefox, went to the > second url, logged in, closed Firefox, looked at the cookie file and it was > still empty. > > The second url uses an interesting authentication scheme. Once you're > logged in using a form post, all the urls in the links in the next page > have what seems to be your own session id in them. > No cookies and no query strings are used. But I also have the a problem > because the urls are relative > > So I guess because it's not using cookies or query string, a redirect won't > work because the browser doesn't know who I am. > > Although there's another solution where I create a form dynamically and > sent it to the browser along with a form.submit() Javascript, this depends > on Javascipt enabled browser. That's why I wanted to do it in a pure > asp.net way. > > John > > > >
- Next message: Wayne Wengert: "Re: Copy Text To Clipboard"
- Previous message: Larry Bud: "Re: Web Design for ASP"
- In reply to: John Dalberg: "Re: Posting to another server and end up there?"
- Next in thread: John Dalberg: "Re: Posting to another server and end up there?"
- Reply: John Dalberg: "Re: Posting to another server and end up there?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|