Help with SESSIONS !!!
Posted: Sat Apr 12, 2003 6:44 am
hi everybody,
i am using PHP 4.3.1, MSSQL on an winNT server running IIS 4. i have used PHP and sessions before in Linux(PHP4.06) and MySQL....
but i am facing a strange problem here....
I initialise variables in a common_classes.php file....
Next i use it in a SelectItems.php file....record most data in sessions and then move to ShowItemDetail.php file...here i record data in 2 more sessions...
then i move back to the first file(SelectItems.php), .. i need to follow this routine to select items of my choice after going thru' the details... till i click finish...which should show me all my selected items(it should work like a shopping cart..), but i seem to lose the 1st selected item......
when i come back to the 1st file from the 2nd one...it just loses the data..... is there a problem with PHP4.3.1 sessions.....please Help.......
i am using PHP 4.3.1, MSSQL on an winNT server running IIS 4. i have used PHP and sessions before in Linux(PHP4.06) and MySQL....
but i am facing a strange problem here....
I initialise variables in a common_classes.php file....
Next i use it in a SelectItems.php file....record most data in sessions and then move to ShowItemDetail.php file...here i record data in 2 more sessions...
then i move back to the first file(SelectItems.php), .. i need to follow this routine to select items of my choice after going thru' the details... till i click finish...which should show me all my selected items(it should work like a shopping cart..), but i seem to lose the 1st selected item......
when i come back to the 1st file from the 2nd one...it just loses the data..... is there a problem with PHP4.3.1 sessions.....please Help.......