Re: Posting to another server and end up there?
From: John Dalberg (john_dd_at_hotmail.com)
Date: 09/22/04
- Next message: Larry Bud: "Re: Web Design for ASP"
- Previous message: Tom Kaminski [MVP]: "Re: Memory-Only SQL?"
- In reply to: Steven Burn: "Re: Posting to another server and end up there?"
- Next in thread: Steven Burn: "Re: Posting to another server and end up there?"
- Reply: Steven Burn: "Re: Posting to another server and end up there?"
- Reply: Chris Hohmann: "Re: Posting to another server and end up there?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Sep 2004 12:08:55 -0700
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: Larry Bud: "Re: Web Design for ASP"
- Previous message: Tom Kaminski [MVP]: "Re: Memory-Only SQL?"
- In reply to: Steven Burn: "Re: Posting to another server and end up there?"
- Next in thread: Steven Burn: "Re: Posting to another server and end up there?"
- Reply: Steven Burn: "Re: Posting to another server and end up there?"
- Reply: Chris Hohmann: "Re: Posting to another server and end up there?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|