Glen Small <[EMAIL PROTECTED]> said something to this effect on 06/26/2001:
> I'm having some problem setting a cookie in a logon script i
> have. The code work fine as a CGI, and also under mod)perl,
> however, I want to set a cookie during the login script, and
> then redirect the browser to an
All,
I'm having some problem setting a cookie in a logon
script i have. The code work fine as a CGI, and also under mod)perl,
however, I want to set a cookie during the login script, and then redirect the
browser to another page. When I enter the code below into the mod_perl
script, the
On Tue, 9 May 2000, Alex Menendez wrote:
> not completely sure about real mod_perl. However, the following works
> great using Apache::Registry and CGI:
>
> print $query->header(-cookie=>[$id_cookie,$crypt_cookie],
>
>-Location=>$query->param("redirect").'?name='.@$ref[1].'&last_login='.@$ref[
- Original Message -
From: "Robin Berjon" <[EMAIL PROTECTED]>
> >On Tue, 9 May 2000, Robin Berjon wrote:
> >> Isn't there a work-around consisting of making 100% sure the cookie is
sent
> >> before the Location header ?
Sure:
Set cookie;
if Reread_cookie
do somthing good
else
do s
At 08:53 09/05/2000 -0700, Perrin Harkins wrote:
>On Tue, 9 May 2000, Robin Berjon wrote:
>> Isn't there a work-around consisting of making 100% sure the cookie is sent
>> before the Location header ?
>
>Not with MSIE. At least it didn't work for me.
Works here for me with msie 4 and 5.1 on win9
not completely sure about real mod_perl. However, the following works
great using Apache::Registry and CGI:
print $query->header(-cookie=>[$id_cookie,$crypt_cookie],
-Location=>$query->param("redirect").'?name='.@$ref[1].'&last_login='.@$ref[3].'&site_id='.$query->
param('site_id'));
I think A
On 09-May-2000 Perrin Harkins wrote:
> Bill Desjardins wrote:
>> I checked the archives and the guide to no avail, so here goes. I am
>> having trouble setting a cookie in the header and then doing a
>> redirect. The cookies are working fine every where, but if I add a cookie
>> to $r->headers_ou
On Tue, 9 May 2000, Robin Berjon wrote:
> At 00:13 09/05/2000 -0700, Perrin Harkins wrote:
> >Bill Desjardins wrote:
> >> I checked the archives and the guide to no avail, so here goes. I am
> >> having trouble setting a cookie in the header and then doing a
> >> redirect. The cookies are working
At 00:13 09/05/2000 -0700, Perrin Harkins wrote:
>Bill Desjardins wrote:
>> I checked the archives and the guide to no avail, so here goes. I am
>> having trouble setting a cookie in the header and then doing a
>> redirect. The cookies are working fine every where, but if I add a cookie
>> to $r->
Bill Desjardins wrote:
> I checked the archives and the guide to no avail, so here goes. I am
> having trouble setting a cookie in the header and then doing a
> redirect. The cookies are working fine every where, but if I add a cookie
> to $r->headers_out->add(), set a location via $r->headers_out
On Tue, 2 May 2000, Bill Desjardins wrote:
> Hi all,
>
> I checked the archives and the guide to no avail, so here goes. I am
> having trouble setting a cookie in the header and then doing a
> redirect. The cookies are working fine every where, but if I add a cookie
> to $r->headers_out->add(),
Did you call $r->send_http_header before you returned REDIRECT ? Cookies
reside in the HTTP header, so you need to send it.
Bill Desjardins wrote:
>
> Hi all,
>
> I checked the archives and the guide to no avail, so here goes. I am
> having trouble setting a cookie in the header and then doin
Hi all,
I checked the archives and the guide to no avail, so here goes. I am
having trouble setting a cookie in the header and then doing a
redirect. The cookies are working fine every where, but if I add a cookie
to $r->headers_out->add(), set a location via $r->headers_out(Location =>
'newrui')
13 matches
Mail list logo