That is excellent I am gonna try this out.
One thing I wanted to know.
How is a session variable generated by user and how do I get ProductID in the session you described.
Say the user clicks a link with a URL parameter from a page:
e.g. <a href="cat.php?ProductCategoryID=1">Dress</a>
This leads to a category page that displays all products with that specific ProductCategoryID. Which would be all dresses in this instance.
On this category page "cat.php" user clicks a individual item image which takes them to details page "proDETAIL.PHP"
e.g <a href="prodDETAIL.php?recordID=<?php echo $row_rsvlProducts['ProductID'];?>"><img src="/images/large/<?php echo $row_rsvlProducts['ProductImage']; ?>" alt="image" /></a>
On the details page there is a recordset "rsItemDetail" which filters ProductID to match URL Parameter "recordID" and just displays info for single item as desired.
Now I need to some how store the ProductIDs viewed by user on details page "proDETAIL.PHP" IN THE SESSION CODE YOU PROVIDED
Do I do this by typing "recordID" to replace session name
I also need to retain ProductIDs generated which appears to done generated by previous code seen above
e.g <?php echo $row_rsvlProducts['ProductID'];?>
I am unsure of how to acheive.
Please could you clarify for me.
Thank you very much by the way!