sessions causing refreshing not to work



I have page data being sent through a php script that uses sessions to pass along variables. These vars are used to load data.

If a user opens a page, everything works fine.
If they open another in a new window it works fine.
If they tab back over to the original browser window and hit refresh it switches to the last page they opened in the other window.

This is because sessions is keeping that last var data in memory so the old page when refreshed reads the new var data and opens new data instead of refreshing the old.

How would I go about fixing this so a page doesn't lose it's var data on refresh?

Mike
.



Relevant Pages

  • Re: sessions causing refreshing not to work
    ... If a user opens a page, ... If they open another in a new window it works fine. ... This is because sessions is keeping that last var data in memory so the ... It WILL, though, mean that users can have separate sessions in different ...
    (comp.lang.php)
  • Re: sessions causing refreshing not to work
    ... If a user opens a page, ... If they open another in a new window it works fine. ... If they tab back over to the original browser window and hit refresh it ... This is because sessions is keeping that last var data in memory so the ...
    (comp.lang.php)
  • Re: sessions causing refreshing not to work
    ... If a user opens a page, ... If they open another in a new window it works fine. ... If they tab back over to the original browser window and hit refresh it ... This is because sessions is keeping that last var data in memory so the ...
    (comp.lang.php)
  • Re: sessions causing refreshing not to work
    ... If a user opens a page, ... If they open another in a new window it works fine. ... If they tab back over to the original browser window and hit refresh it ... This is because sessions is keeping that last var data in memory so the ...
    (comp.lang.php)
  • Re: Need help refreshing a datagrid client side
    ... > that the page doesn't refresh. ... > information is added to a SQL database and displayed in a datagrid. ... > I've got everything working on the client side (we are using an AJAX ... > var StartDate = document.getElementById ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)