in reply to Re: Re: The cookie crumbles
in thread The cookie crumbles
Try to print to either the web page or to the log file the values of $menu and $name, ideally bracketed as in "--$name--", in case that your firewall might be adding extra characters to the end. If anything, try replacing the not-equal comparison with a regex ( if ( $name !~ /$cookie_name/ ) ....
As for the script referencing, I would suggest that it's always better to let the cgi determine where it is than for you to specify it; that's one less place where a site setting could go amiss if you have to move servers. You can delete all the other CGI params except for name using:
and then use the self_url to leave only the name param and the right script location. That (probably) won't fix your problem; it's only a style issue.foreach my $param ( $query->params() ) { $query->delete( $param ) if ( $param ne 'name' ); }
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: The cookie crumbles
by Siddartha (Curate) on Oct 24, 2001 at 16:08 UTC |