On Thu, 2003-06-05 at 16:37, Geoffrey Talvola wrote:
> Max Ischenko wrote:
> > The problem never occurs when using built-in http server but occurs
> > whenever IIS is used through webkit.cgi (I haven't tested with
> > Apache). 
> 
> I'll take a guess.  I think IIS is probably doing an "internal redirect" in
> which case the browser never sees the original reply and therefore never
> gets the cookies.  The built-in http server doesn't do internal redirects
> but always sends them back to the browser.
> 
> Are you using a relative URL to do the redirect?  If so, try using a full
> absolute URL instead:
> 
>       self.response().sendRedirect('http://foo.com/webkit.cgi/MyServlet')
> 
> and this might force IIS to send the redirect all the way back to the
> browser, along with the session ID.

You can probably also fix an internal redirect by setting the status
code, like:

self.response().setHeader('Status', '307 Temporary Redirect')

  Ian




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to