Thanks to sturgis from the forums I got it working now. The missing link was that the session needs to be stopped before the script terminates. This is a working example:
<?lc set the sessionid to "100" start session if $_SESSION["counter"] is empty then 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 stop session ?> Happy camper now. :-) Cheers, Malte _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode