01-06-2010, 09:05 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
|
$_SESSION not refreshing
Hi,
On my homepage I have say:
PHP Code:
$_SESSION['breadcrumb'] = 'Home';
Then on another page I might have:
PHP Code:
$_SESSION['breadcrumb'] = 'Home > Page 2';
I go to the home page and I get the home breadcrumb. If I click page 2 I still get the home breadcrumb until I press F5 or click page 2 for a second time. Then when I click home I get the page 2 breadcrumb until I press F5 or home again.
Why isn't the session variable updating until I refresh?
|
|
|