RE: [PHP] SESSION problem
| From: | tedd | Date: | Fri, 15 Aug 2008 23:39:44 +0000 |
| Subject: | RE: [PHP] SESSION problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278206@lists.php.net to get a copy of this message | ||
At 1:47 PM -0500 8/15/08, Boyd, Todd M. wrote:
Have you tried: echo SID; ...? I'm wondering if you're going to get different values on the two pages. What that means beyond two different sessions is beyond me, but it's a start. Todd Boyd Web ProgrammerTodd: I added code to show the SID and it's the same, but still nothing happens. http://www.webbytedd.com/b2/session-test/index.php I know what the problem is, but don't know how to fix it. If you will look at the code, I am using a variable within the SESSION declaration: $_SESSION[$i] = $i; If I comment that out, the $_SESSION['test'] will be passed. Thanks, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com