Help with SESSIONS !!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sacfreak
Forum Newbie
Posts: 6
Joined: Tue Mar 11, 2003 3:10 am

Help with SESSIONS !!!

Post by sacfreak »

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....... :cry:
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Post Reply