tultalk has asked for the wisdom of the Perl Monks concerning the following question:
Hi
Up until tuesday this week this code in script was posting cookies to firefox.
sub SetUserSessionCookie { my $printresult = ""; my ($sname,$sid) = @_; #use CGI qw/:standard/; #use CGI::Cookie; warn("In set cookie: '$sname' '$sid'"); my $sessioncookie = new CGI::Cookie(-name=>$sname,-value=>$sid,-ex +pires=>$session_cookie_timeout,-path=>'/',-domain=>$domain,-secure=>1 +); warn("session cookie: '$sessioncookie'"); $printresult = print header(-Cookie=>[$sessioncookie],-type=>"text +/html"); warn("printresult: '$printresult'"); }
I had been testing program and the cookie was posted at least 100 time
On Tuesday afternoon it quit posting cookies in FF
It still posts cookies in Chrome and Blue Moon but will not work in Firefox
I checked all settings in FF, deletec all cookies and cache several times, shut down and restarted FF and computer and finally reinstalled the latest version and did a search on internet thinking a FF upgrade is the culprit. No such luck.
The warns show correct information. And: printresult: '1' at /home/jalamior/www/httpsdocs/cgi-bin/lib/perl/manageusers.pm line 687.
Of course I assume 1 = true = success.
Thanks and best regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stopped posting cookies
by huck (Prior) on Mar 30, 2017 at 12:15 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 13:13 UTC | |
by huck (Prior) on Mar 30, 2017 at 13:42 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 13:56 UTC | |
|
Re: Stopped posting cookies
by huck (Prior) on Mar 30, 2017 at 14:19 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 18:21 UTC | |
by huck (Prior) on Mar 31, 2017 at 02:15 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 20:00 UTC | |
by tultalk (Monk) on Mar 31, 2017 at 11:42 UTC | |
by poj (Abbot) on Mar 31, 2017 at 11:49 UTC | |
by tultalk (Monk) on Mar 31, 2017 at 02:04 UTC | |
by Anonymous Monk on Mar 31, 2017 at 02:09 UTC | |
|
Re: Stopped posting cookies
by poj (Abbot) on Mar 30, 2017 at 12:12 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 13:38 UTC | |
by haukex (Archbishop) on Mar 30, 2017 at 13:42 UTC | |
by poj (Abbot) on Mar 30, 2017 at 13:52 UTC | |
by tultalk (Monk) on Mar 30, 2017 at 14:01 UTC |