Theseekers
Technical User
Hi Tekers,
I was playing with the session stuff @ the beginning of this project and with the help of some of you (thank you so much) on this forum I got it working for few pages. Today, I pick up where I left off and what do you know. The darn thing won't carry my capture infor over to the next page.
I went back, looked at my previous notes and compared my setting (php.ini) with my notes along with the session threads in this forum and none can help me.
I thought my code has something to do with it so I created a new series of pages (start from fresh and at least get my session going). None of my session can go beyond the first page. Basically, session is created on the first page (I can see the session id with 1kb size and event open it up to make sure that info is in there which is ok). Click on on a link (a href) to go to the second page. It totally ignores my established session and create a new one with 0kb (What going on here). I've been testing this and try to figure out what has gone wrong and I am fried. Can some of you offer me some suggestions of possible point of failure so I can start to look to see if I can get this going again ( TIA)
My configuration (all in the same laptop)
1. PHP 5.0.0 (installed as ISAPI)
2. IIS 5.0
3. IE 6 with sp1
4. Win2k Server
FYI, I am attaching a few pages that i am testing so you can see what I am trying to do:
page 1
<?php
session_start();
$_SESSION['userid'] = "foo";
print "Session id is: " . session_id();
print "<a href=' go to next page </a>";
?>
page 2
<?php
session_start();
print "Welcome" . $_SESSION['userid'] . "<br />";
print "You have got to page 2 with these information stored in the session: " . $_SESSION['userid'] . " and your session is still: "
echo session_id();
print "<a href=' go to next page </a>";
?>
I was playing with the session stuff @ the beginning of this project and with the help of some of you (thank you so much) on this forum I got it working for few pages. Today, I pick up where I left off and what do you know. The darn thing won't carry my capture infor over to the next page.
I went back, looked at my previous notes and compared my setting (php.ini) with my notes along with the session threads in this forum and none can help me.
I thought my code has something to do with it so I created a new series of pages (start from fresh and at least get my session going). None of my session can go beyond the first page. Basically, session is created on the first page (I can see the session id with 1kb size and event open it up to make sure that info is in there which is ok). Click on on a link (a href) to go to the second page. It totally ignores my established session and create a new one with 0kb (What going on here). I've been testing this and try to figure out what has gone wrong and I am fried. Can some of you offer me some suggestions of possible point of failure so I can start to look to see if I can get this going again ( TIA)
My configuration (all in the same laptop)
1. PHP 5.0.0 (installed as ISAPI)
2. IIS 5.0
3. IE 6 with sp1
4. Win2k Server
FYI, I am attaching a few pages that i am testing so you can see what I am trying to do:
page 1
<?php
session_start();
$_SESSION['userid'] = "foo";
print "Session id is: " . session_id();
print "<a href=' go to next page </a>";
?>
page 2
<?php
session_start();
print "Welcome" . $_SESSION['userid'] . "<br />";
print "You have got to page 2 with these information stored in the session: " . $_SESSION['userid'] . " and your session is still: "
echo session_id();
print "<a href=' go to next page </a>";
?>