I'm just a budding modperlie - is notes info maintained 
across a server redirect?

  $r->internal_redirect('/login?message=dont+go+there');

Jeff

-----Original Message-----
From: Michael Schout [mailto:[EMAIL PROTECTED]] 
Sent: 19 April 2002 17:44
To: Peter Bi
Cc: Fran Fabrizio; [EMAIL PROTECTED]
Subject: Re: framesets/AuthCookie question


On Wed, 17 Apr 2002, Peter Bi wrote:

> Fran:
>
> You may need to 1) add a few lines of code in AuthCookie to make your
error
> code aware to other methods,  and 2) have a dynamic login page that
can
> interpret the code. Alternatively,  you may try AccessCookie I posted.
:-)

The CVS version of AuthCookie has a custom_errors() hook in it that does
this
sort of thing.

However, I dont think it will work for his problem because his
javascript code
seems to launch a NEW REQUEST, thus loosing anything that was stored
away in
$r->subprocess_env().  So the only viable option is to pass the error
codes in
they url (as part of the query string) I think.

Mike


Reply via email to