Session strategies for liveCode server
Malte Brill
revolution at derbrill.de
Thu Jan 19 15:54:44 EST 2012
Michael,
thanks for getting back!
I am afraid I do not have it working yet. :-(
I now tried this:
<?lc
if $_SESSION["counter"] is empty then
set the sessionid to "1"
start session
add 1 to $_SESSION["counter"]
put "No previous session detected. Session counter=" & $_SESSION["counter"]
else
add 1 to $_SESSION["counter"]
put "Session counter:" & $_SESSION["counter"]
end if
?>
And always get a session counter of 1.
Maybe I must solve this differently. :-(
Cheers,
Malte
More information about the use-livecode
mailing list