From: moodler Date: Sat, 11 Jan 2003 13:58:17 +0000 (+0000) Subject: A small standalone test program to test session support X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6b72b9a911f74312266b910f7574cb2d69c5d64d;p=moodle.git A small standalone test program to test session support --- diff --git a/lib/session-test.php b/lib/session-test.php new file mode 100644 index 0000000000..6ef403e08a --- /dev/null +++ b/lib/session-test.php @@ -0,0 +1,22 @@ +No session found - starting a session now."; + $_SESSION["test"] = "welcome back!"; + +} else { // Subsequent times you call it + echo "

Session found (".$_SESSION["test"].")!"; + echo "

Sessions are working correctly

"; +} + +echo "

Reload this page

" + +?>