On Nov 9, 2004, at 10:33 PM, Aparajita Fishman wrote:
Seems to me the code above will toggle the state of $toggle EVERY time the page is refreshed, assuming $toggle is defined.
Two other possibilities:
- Are you absolutely sure there is no code in On Execute Start or On Execute End that might be affecting this?
- Are you sure the session is in fact being maintained from one hit to the next? Dump the session internal id and see.
It took a while to find this one, and it was none of the above. I actually put a band-aid on it before we found the problem. The original gif's were just anchors with $toggle in the query parameters. I changed the gif's to form images and put $toggle as a hidden input. That made the toggle's work correctly, but I knew something was still wrong.
I then remembered the "Activity" window in Safari will show you what has been loaded. What I found was things like:
http://web4d.aidt.edu:xxxx/4dcgi/myaidt? usr=pr.d&id=6319303&ts=20041110203445579
http://web4d.aidt.edu:xxxx/4dcgi/myaidt? usr=pr.d&id=6319303&ts=20041110203445579#bbbbff
An HTML gotcha got me.
I had
<Body background="#bbbbff"> instead of <body bgcolor="#bbbbff">
Guess it was looking for an internal link and was loading twice - that caused the double flip.
Thanks again,
Steve Alex AIDT
_______________________________________________ Active4D-dev mailing list [EMAIL PROTECTED] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
