Page 1 of 1

Masking variable data in an url?

Posted: Wed Jan 03, 2007 8:17 am
by spacebiscuit
Hi,

I am sure this is a common question but I cannot find the answr on the net anywhere.

Is it possible to hide or encrypt variable data passed in the url. I have several veriable's whose data I want to hide or mask from the user.

Thnaks in advance,

Rob.

Posted: Wed Jan 03, 2007 8:22 am
by dude81
I guess this could help you

http://sg.php.net/base64_encode

Posted: Wed Jan 03, 2007 8:57 am
by feyd
Is it possible to use sessions for this?

Posted: Wed Jan 03, 2007 9:03 am
by impulse()
Would it not be possible to use _POST?

Posted: Wed Jan 03, 2007 10:32 am
by John Cartwright
impulse() wrote:Would it not be possible to use _POST?
POST is just as viewable to the end user. Just takes 2 more sec of digging :wink:

Posted: Wed Jan 03, 2007 10:35 am
by RobertGonzalez
Sessions, or better yet databased session data tied to a unique ID. Then none of the information is passed by forms or URI.

Posted: Wed Jan 03, 2007 10:41 am
by Kieran Huggins
You'll need to give us a case example before we can really recommend anything.