gnump3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnump3d-users] Clear Search Results


From: Benjamin Damer
Subject: Re: [Gnump3d-users] Clear Search Results
Date: Mon, 14 Aug 2006 13:31:05 -0700

Hi Steve,

That did it... thanks a lot

-Benjamin Damer

On 8/14/06, Steve Kemp <address@hidden > wrote:
On Mon, Aug 14, 2006 at 09:09:28AM -0700, Benjamin Damer wrote:

>    I deleted my cookies and that fixed the problem temporarily (as in: it
>    worked once, but as soon I conduct my first search, it's the same problem
>    again).

   Try this patch from Matthew Cheetah which should avoid these cookies
  being reset.  (You will need to clean them first though.)

--- gnump3d-2.9.8/bin/gnump3d2  2005-11-16 19:46:53.000000000 -0500
+++ gnump3d-2.9.8.matt/bin/gnump3d2     2006-08-10 17:47:54.000000000 -0400
@@ -1303,6 +1323,8 @@
     {
       if ( defined( $ARGUMENTS{$key} ) )
       {
+       # Matt: these keys should NEVER be set as cookies damnit
+       next if $key eq 'q' or $key eq 'play';
        my $val = $ARGUMENTS{ $key };
        $header .= "Set-Cookie: " . $key . "=" . $val . ";path=/; expires=Mon, 10-Mar-08 14:36:42 GMT;\r\n";
       }


Steve
--


reply via email to

[Prev in Thread] Current Thread [Next in Thread]