From 6b72b9a911f74312266b910f7574cb2d69c5d64d Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 11 Jan 2003 13:58:17 +0000 Subject: [PATCH] A small standalone test program to test session support --- lib/session-test.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/session-test.php 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

" + +?> -- 2.39.5