Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6236

sessions causing refreshing not to work

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date Sat, 02 Jun 2012 22:19:45 -0500
Date Sat, 02 Jun 2012 23:17:03 -0400
From Michael Joel <null@void.void>
User-Agent Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511
X-Accept-Language en-us, en
MIME-Version 1.0
Newsgroups comp.lang.php
Subject sessions causing refreshing not to work
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <At-dnY91kY5PSlfSnZ2dnUVZ_r6dnZ2d@earthlink.com> (permalink)
Lines 16
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 63.131.34.96
X-Trace sv3-GaSNO1KPAaX4kbanoiT+42CsinQUS/s3ZCpsESAFrp5ZJgl3AMjXpZ5iW+C7dngU7CEOqwx+dHhZD3T!tW/LQEgFPZYeXGL29r5kFrrX1v1zQvcCLmRiIrqeI6NB1dFfSLvYaj6QpBa3lxwC3IzevTm24O3q!pImHCNmX3/d6wFGhxJWT2LemlQj7crViIETz
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1694
Xref csiph.com comp.lang.php:6236

Show key headers only | View raw


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

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

sessions causing refreshing not to work Michael Joel <null@void.void> - 2012-06-02 23:17 -0400
  Re: sessions causing refreshing not to work "Peter H. Coffin" <hellsop@ninehells.com> - 2012-06-02 22:57 -0500
    Re: sessions causing refreshing not to work Fred <fr-icsr@numericable.fr> - 2012-06-03 13:07 +0200
      Re: sessions causing refreshing not to work "Peter H. Coffin" <hellsop@ninehells.com> - 2012-06-03 22:20 -0500
    Re: sessions causing refreshing not to work Arno Welzel <usenet@arnowelzel.de> - 2012-06-04 07:56 +0200
      Re: sessions causing refreshing not to work "Peter H. Coffin" <hellsop@ninehells.com> - 2012-06-04 11:20 -0500
        Re: sessions causing refreshing not to work Arno Welzel <usenet@arnowelzel.de> - 2012-06-05 03:27 +0200
    Re: sessions causing refreshing not to work Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-05 06:46 +0200
      Re: sessions causing refreshing not to work "Peter H. Coffin" <hellsop@ninehells.com> - 2012-06-05 07:14 -0500
        Re: sessions causing refreshing not to work Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-05 20:52 +0200
          Re: sessions causing refreshing not to work "Peter H. Coffin" <hellsop@ninehells.com> - 2012-06-05 15:05 -0500
            Re: sessions causing refreshing not to work Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-06 21:50 +0200
        Re: sessions causing refreshing not to work Richard Damon <news.x.richarddamon@xoxy.net> - 2012-06-06 08:34 -0400
  Re: sessions causing refreshing not to work Fred <fr-icsr@numericable.fr> - 2012-06-03 13:21 +0200
    Re: sessions causing refreshing not to work Michael Joel <null@void.void> - 2012-06-03 09:59 -0400
      Re: sessions causing refreshing not to work Fred <fr-icsr@numericable.fr> - 2012-06-03 16:43 +0200
        Re: sessions causing refreshing not to work Denis McMahon <denismfmcmahon@gmail.com> - 2012-06-03 19:13 +0000
  Re: sessions causing refreshing not to work Arno Welzel <usenet@arnowelzel.de> - 2012-06-04 07:59 +0200
  Re: sessions causing refreshing not to work "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-06-04 09:12 +0200
  Re: sessions causing refreshing not to work Michael Joel <null@void.void> - 2012-06-05 16:51 -0400
    Re: sessions causing refreshing not to work The Natural Philosopher <tnp@invalid.invalid> - 2012-06-05 23:09 +0100

csiph-web