Re: Back button to Query Pages
| From: | Edward van Bilderbeek - Bean IT | Date: | Mon, 28 Jan 2002 09:00:31 +0000 |
| Subject: | Re: Back button to Query Pages | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82372@lists.php.net to get a copy of this message | ||
Hi,
a possible solution is also to provide the backbutton href with the original
variable values...
print "<a href='bladibla.php?var1=val1&var2=val2'>back</a>\n";
Greets,
Edward
----- Original Message -----
From: "Nick Wilson" <nick@explodingnet.com>
To: <php-general@lists.php.net>
Sent: Monday, January 28, 2002 9:57 AM
Subject: Re: [PHP] Back button to Query Pages
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> * and then phantom blurted....
> > Page 1 is a list of people's names (queried by State).
> >
> > Page 2 is each person's profile.
> >
> > When I hit the back button on Page 2 it tells me it has to requery the
> > List on Page 1 (apparently not stored in the client's browser cache).
> > Is there anyway to make it use the cached copy instead of requeurying
> > the database? I know using Active Server Pages you could do this.
>
> Tough one.
> This will need some experimentation as I'm just speculating a theory....
> Set a session var on page 1 *after* a successfull query.
> At the beginning of page 1 test to see if the var is set,
> If so just print the peoples names as if the query were run, if not
> run the query.
>
> I have no idea if that will help but I hope it provides a little
> inspiration anyhow :-)
> - --
>
> Nick Wilson
>
> Tel: +45 3325 0688
> Fax: +45 3325 0677
> Web: www.explodingnet.com
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE8VRJ2HpvrrTa6L5oRAkWYAJ45ckNJHxjlvz5i/pMKVSkXjwgItgCfbLZA
> fXxmthm2VEP5nqjv1Zj+j0Y=
> =R2HK
> -----END PGP SIGNATURE-----
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>