> I wanted to se if the URL changed it's ways if I turned of cokie. It did.
> (When a new sid is genearated, the SID no is added to the url at the first
> click after.After that, you do not se the sid in the url again. Turning of
> cokies made the sid not show up at all in url.)

> The FreeTrade started to generate a new sid on each klick, and did of
cause
> not work.

That's a bug in ScreenURL.  Here's the fix:

                if((!USE_COOKIES) OR (!COOKIE_FOUND))
                {
                        $URL .= "&sid=$sid";
                }

The same fix needs to go in StartForm:

                if((!USE_COOKIES) OR (!COOKIE_FOUND))
                {
                        $FormHead .= "<INPUT TYPE=\"hidden\" NAME=\"sid\" 
VALUE=\"$sid\">\n";
                }

I'll commit this to CVS right now.

Leon



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to