It gets weirder ...
Today, Firefox doesn't set the SESSION at all - instead of testing testing, I get nothing. I wonder if it depends on where I'm connecting from: home = cable modem & wifi, work = direct.
JH On May 23, 2008, at 10:13 AM, Jim Hu wrote:
Not solved, but here's some more information. In my function execute(), I added:
$output .= $_SESSION['TableEditTesting']; $_SESSION['TableEditTesting'] .= "testing\n";
In Safari clicking an action button -> testing In Firefox(Mac) clicking an action button -> testing testing
Weird. I'm not sure that this actually explains the problem.
JH
On May 21, 2008, at 11:12 PM, Jim Hu wrote:
I'm working on a revamping of my TableEdit extension, and I'm stuck on a weird problem with $_SESSION and Firefox (mac). It looks like the session superglobal isn't being updated properly...using print_r to examine $_SERVER shows the right values at the end of one the script, but it's as if it's not really being saved to the session, and older information is being used when the next pageload happens. ... but the code works in Safari. The problem is reproducible on a two different computers - my server and my laptop (both macs).
I'm stuck... any suggestions on what I should be looking at? I had sessions working with Firefox in other code and don't know what I'm doing differently... and I really don't understand why this should be browser dependent.
MW 1.12 php 5.24 and 5.25 ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054