[wikka-community] setting $_SESSION values

John Francis Lee jfl
Thu Oct 27 13:59:56 GMT 2011

I'm trying to set $_SESSION values, but without success.

My method is to create a page which contains an action which writes a 
javascript defining and calling a function which sends the value to be 
saved as $_SESSION[user][value] appended to a url via ajax.

I can see the thing working in firebug... and an alert appears, called 
by the ajax function on its return, with the value sent referenced as 
$_SESSION[user][value] and returned... but a second page containing an 
action which simply returns the $_SESSION contents shows no such 

What might I be doing wrong?

"This message may have been intercepted and read by U.S. government 
agencies including the FBI, CIA, and NSA and/or the present government 
of Thailand without notice or warrant or knowledge of sender or recipient."

John Francis Lee
246/3 Thanon Kaew Wai
Mueang Chiangrai 57000

More information about the community mailing list