RE: [PHP] Getting $_POST variables back
| From: | Jay Blanchard | Date: | Fri, 03 Sep 2004 14:33:50 +0000 |
| Subject: | RE: [PHP] Getting $_POST variables back | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195733@lists.php.net to get a copy of this message | ||
[snip]
NOW:
The question arises: where does the browser store this info, and can I
get
it back from there on the page that got called via the href html? I
would
like to avoid some rather unnecessary server side selects to retrieve
the
previous page.
[/snip]
The browser really doesn't store the information. The only, truly, safe
and consistent (read: between different browsers) way to do this is to
commit the information to a database or file and use a cookie variable
or session variable to ID the user so that a query can be issued against
the data for retrieval. So your wish for a client-side solution may not
be granted, unless you want to commit each and every variable to a
session.