|
Posted by Jerry Stuckle on 07/24/05 18:34
opt_inf_env@yahoo.com wrote:
> Hello,
>
> I know three ways to pass variables form one page to another. The first
> one is to declare and set session variable. In this case if one goes to
> another page (by clicking on hyperlink or pressing a button) value of a
> session variable will be automatically seen on the new page. The second
> way is to set hidden variables in the form and go to new page by
> execution of this form (press a button or enter), and the last way,
> which I know, is in the declaration of hyperlink after name of a new
> page put after "?" names and values of variables. Sometimes I need
> to use the third way. However I do not like that after new page is
> loaded in the address line of browser one can see all variables (names
> and values). Can one avoid this problem?
>
You can't. When using the $_GET method to pass variables from one page to
another, they will end up in the location link (and can be changed by the users).
You're best bet is to use sessions.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|