|
Search tenon.com
Thanks to:
|
|
iTools
Trying to get sessions to work. On one page I have this:
<?php
session_start();
session_register('session_var');
?>
<html>
<head><title>sessiontest</title><head>
<body>
<?php
$session_var = "testing";
echo"This is a test of the seesion feature.
<form action='sessiontest2.php' method='post'>
<input type='text' name='form_var' value='testing'>
<input type='submit' value='go'>
</form>";
?>
</body>
</html>
And on sessiontest2.php, I have this:
<?php
session_start();
?>
<html>
<head><title>sessiontest</title><head>
<body>
<?php
echo "session_var = $session_var<br>\n";
echo "form_var = $form_var<br>\n";
echo "phpsessionid = $PHPSESSID<br>\n";
?>
</body>
</html>
But the variables are not showing up on the second page. Any ideas?
itools 7.3
PHP Version 4.3.6
~joe
--
_______________________________________________________________
Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@xxxxxxxxxx
WEST21.com Internet services for the 21st Century
webhosting ~ co-location ~ wireless access ~ WebCat programming
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to
itools-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives
at:
http://itools.blackpepper.co.nz/
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|