Jump to content


This topic is now archived and is closed to further replies.


'hiding' a query string

Recommended Posts


How can i pass a query string (get method) so the user cannot see it and edit it in the url?

For example blabla.php?infothatisonlysupposedtobeseenbyuserid=1. I don't want the user to be able to see the info about another user. (for example)

I have a bunch of links displayed on a page with each another query string. I know about post arrays, i don't want to use forms though. Is it possible with php or is this possible with ajax?

Help would be appreciated.


Share this post

Link to post
Share on other sites
I'd suggest using AJAX. And I don't see the problem with using POST arrays. If your issue is using links vs. buttons to move to the next page, you can call a javascript submit through the link.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.