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" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
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 #
> # [EMAIL PROTECTED]  | +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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to