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 _______________________________________________ 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