anyway if header("location") does not work, you can insert a small
hidden form into the login-checking page, and if login/password is correct,
just set body.onLoad event handler to "HIDDENFORM.submit();" , where
HIDDENFORM is your small hidden form.
Ok. i know it is a weird way to solve your
Lars,
I'm not sure if this is related (possibly), but I has similar problems with
cookies.
I doiscovered that the cookie was only being set if the page that set it
actually produced HTML. By redirecting, you cut out the HTML-writing.
Why not redirect the user if the test fails instead.
HTH
Geo