>a code snippet of how you set your cookies would be most helpful...
My apologies : )

[snip]
    $user=$query->param('login');
    $password=$query->param('pass');
    $dbname="rspde";
    $dbh=DBI->connect("dbi:Pg:dbname=$dbname",$user,$password) ||
sendto_main();
    $page="main";
    $group=check_permissions($user,$password);
    $username=get_username($user,$password);
    $fname=get_fname($user,$password);
    $cookie1=$query->cookie(-name=>'login',
                            -value=>$user);
    $cookie2=$query->cookie(-name=>'pass',
                            -value=>$password);
    print $query->header(-cookie=>[$cookie1,$cookie2]);
    print $query ->start_html
        (

>do you have PerlSendHeaders On?
PerlSendHeader is ON,

>CPAN modules such as Apache::DumpHeaders or Apache::DebugInfo 
I have not used Apache::DumpHeaders or Apache::DebugInfo ... YET

Thanks for the response!
Jim


>-----Original Message-----
>From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 05, 2001 2:53 PM
>To: 'James Hall'; [EMAIL PROTECTED]
>Subject: RE: Newbie cookie question
>
>
>
>
>> -----Original Message-----
>> From: James Hall [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, January 05, 2001 3:23 PM
>> To: [EMAIL PROTECTED]
>> Subject: Newbie cookie question
>>
>> Now that I have mod_perl installed I cannot pass any cookies 
>> like I used to.
>> I have not changed any scripts [yet] and all use DBI connections to a
>> postgres DB.
>> 
>
>a code snippet of how you set your cookies would be most helpful...
>
>be sure to check your outbound and inbound headers (either 
>using telnet or
>CPAN modules such as Apache::DumpHeaders or Apache::DebugInfo) 
>to see what
>is going on
>
>do you have PerlSendHeaders On?
>
>--Geoff
>

Reply via email to