...

View Full Version : sessions??



the moose
03-11-2009, 05:26 PM
ok, i have built a completely custom shopping cart from scratch. on each product page (HTML) is an order summary (shows the order number and the subtotal all drawn from a database). The cartid for the user is stored as a session variable. Now, when the user clicks on view cart, the cart always opens in a new window/tab.

Now I was under the assumption that sessions worked across all the tabs/windows of the session of the browser (i.e. so when the cart is updated, the summary is updated on refresh of the other page) and Internet Explorer seems to agree, although Firefox doesn't seem to!!

For some reason sessions dont seem to work across windows/tabs in FF??

Is this the case?!?!

Cheers

The Moose

Fumigator
03-11-2009, 05:37 PM
Are you specify a session name? My applications do, and the session remains intact across tabs and windows in Firefox.

http://us.php.net/manual/en/function.session-name.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum