RE: AuthCookie solution

2000-11-16 Thread Geoffrey Young
-Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 10:20 PM To: [EMAIL PROTECTED] Subject: Re: AuthCookie solution a little off the subject, but close. it the pointer for login is a complete URL ie http://foo.com/login.pl

AuthCookie solution

2000-11-15 Thread Charles Day
Works perfectly. Excellent idea. Thank you very much Bill! # added args to login.pl so we can redirect URL's with arguments during initial authentication. my $args = $r-prev-args; # add the ? $args = "?".$args if $args; # put this in the form next to $uri. INPUT TYPE=hidden NAME=args

Re: AuthCookie solution

2000-11-15 Thread Bill Moseley
At 04:19 PM 11/15/00 -0500, Charles Day wrote: # We added the line below to AuthCookie.pm $r-header_out("Location" = $args{'destination'}.$args{'args'}); Why pass a new argument? Can't you just add the query string onto the destination field in your login.pl script? Something like the

Re: AuthCookie solution

2000-11-15 Thread Michael
At 04:19 PM 11/15/00 -0500, Charles Day wrote: # We added the line below to AuthCookie.pm $r-header_out("Location" = $args{'destination'}.$args{'args'}); Why pass a new argument? Can't you just add the query string onto the destination field in your login.pl script? Something like