RE: [PHP] Debugging a Session Problem
| From: | Lee Stewart | Date: | Sat, 26 Jul 2003 00:00:28 +0000 |
| Subject: | RE: [PHP] Debugging a Session Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156964@lists.php.net to get a copy of this message | ||
Using the $_SESSION[] style produces the same results... Zero length session file in /tmp, and no data passed... (available at http://4.43.81.92/page1a.php)
So where do I go from here... Is there any way to debug it? Like I said, I suspect it's not a PHP code bug, but I'm at a loss as to where to go from here (other than re-writing the entire application in some other language -- which I really don't want to do)...Help? Lee At 04:36 PM 7/25/2003, Johnson, Kirk wrote:
Sorry, I am stumped. I don't see any problems in the .ini file. Have you tried some simple code in "register_globals off" style? <? session_start(); $_SESSION['test'] = 'foobar'; header('Location: page2.php'); ?> <? session_start(); echo "test is {$_SESSION['test']}<br>"; ?> Kirk---------- Lee Stewart, Senior SE Sytek Services, a Division of DSG (719) 566-0188 , Fax (719) 566-0655 lstewart@dsgroup.com www.sytek-services.com www.dsgroup.com