Re: Passing a variable invisibly via a href?
| From: | Adrian Murphy | Date: | Tue, 02 Apr 2002 15:14:03 +0000 |
| Subject: | Re: Passing a variable invisibly via a href? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91154@lists.php.net to get a copy of this message | ||
or use javascript <href="javscript:form.submit()">
or if you really wanted you could encrypt the variable
pass it via the url and then decrypt it on the next page!
to avoid a reload put no-cache in the header.
----- Original Message -----
From: "Daniel Alsén" <d@mindbash.com>
To: "PHP List" <php-general@lists.php.net>
Sent: Tuesday, April 02, 2002 4:02 PM
Subject: [PHP] Passing a variable invisibly via a href?
> Hi,
>
> i need to pass a variable by letting the user click on a link. Right now i
> do it like: page.php?variable=value
>
> However, i don´t want the variable, and it´s value to appear in the adress
> bar of the browser. And i don´t want people to be able to pass the same
> variable by reloading the destination page.
>
> Any pointers on how i can do this?
>
> Regards
> # Daniel Alsén | www.mindbash.com #
> # d@mindbash.com | +46 705 38 10 30 #
> # ICQ: 63006462 | +46 8 694 82 22 #
> # PGP: http://www.mindbash.com/pgp/ #
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>