Jump to content

Archived

This topic is now archived and is closed to further replies.

whittierpc

Possible Problem with Sessions

Recommended Posts

Hello,
I originally started my site development on a Linux Server with PHP 4 and MYsql 3.23 and recently switch to a Windows Server 2003 with IIS 6 with PHP 4.XX and MySQL 5. I have had some problems along the way but this one I cannot figure out. I read "Creating Interactive Websites Using PHP....." to get started,

What really gets me is that if you populate the shopping cart and go through the expected steps it seems that the cart.php page does not work, but if you go to a different menu sections and see the items (# of) in our cart and click on the page you see your stuff.

Best to see for yourself.


To see what I am talking about follow these steps:

1. Choose a category
2. Pick and item and click View Item
3. Select your optios
4. Click the Add button
5. You will see a blank page
6. Click a different menu section
7. Click the 1 Item in Shopping Cart button

Share this post


Link to post
Share on other sites
Thats realy weried i had a go and i had the same problam.


were did you get all the information to put the whole site together.

Share this post


Link to post
Share on other sites
So whats the problem? cart.php doesnt output anything?

Orio.

Share this post


Link to post
Share on other sites
It doesn't output now that its on a IIS 6 but on Linux it was fine, but thats not completely true because if you follow the directions youll see it does output. Its hard to describe

Share this post


Link to post
Share on other sites
It outputs the header and footer, but what's supposed to be in the middle?
Maybe you should post your script?

Orio.

Share this post


Link to post
Share on other sites
I am at work, I have it at home, but did go to another menu section and then click on the 1 Item in Shopping Cart Button to see the contents of the cart? even though they did not show up in the previous step?

Share this post


Link to post
Share on other sites
Yeah, I saw that.
That's why I am asking for cart.php's script.

Orio.

Share this post


Link to post
Share on other sites
post it ok then i will comment.

i need to see your coding method

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.