Page 1 of 1

keeping data when refreshing web page

Posted: Sun Jul 18, 2010 9:20 am
by jaco
Hello everyone, I know this is probably an oft asked question but I have been struggling with it for quite some time. I have a web page that has select boxes for user input and of course select buttons that send the data to the server via url. I want the user to have the same page returned with new information based on his selection, see:

http://www.musiconguitar.com/chords.php

Everything works fine except when you use the REFRESH or BACK button of the browser, this causes the data to be lost.

What is the best way to solve this problem?

Cheers,

Jacques

Re: keeping data when refreshing web page

Posted: Sun Jul 18, 2010 10:35 am
by internet-solution

Re: keeping data when refreshing web page

Posted: Sun Jul 18, 2010 4:46 pm
by liljester
try $_SESSION or $_COOKIE variables