[jQuery] Re: Determining the source of a load

2007-09-19 Thread Erik Beeson
Right, I was suggesting you make a change on your server so you don't send a 3xx redirection, and instead send another code that you can check for on the client. You could still do the redirection from javascript. There was just another thread about detecting URL redirections in ajax. Seems it's p

[jQuery] Re: Determining the source of a load

2007-09-19 Thread dougXN
I thought the status code would work, but the status code that returns does not say anything about being redirected. It all comes back very normal like it did something that it was suppose to do. Actually the status code seems to be a bit disappointing in general. It would be easiest if it ju

[jQuery] Re: Determining the source of a load

2007-09-18 Thread Erik Beeson
Ick, don't check the content. That's very ugly. You could always return JSON objects that include status information, or better yet, use HTTP status codes. I'll provide an example in a new thread. --Erik On 9/18/07, dougXN <[EMAIL PROTECTED]> wrote: > > > We have a website that requires login.