/    Sign up×
Community /Pin to ProfileBookmark

Hi, I have developen one web application in php where in i have to pass many values like user id, order id, session id etc in query string for proper functioning. The site is working perfectly. The problem is that when i change any one of the query string value, the respectie page gets loaded. logically speaking this will happen if we change the query string value. But i want to know how to avoid this.
For example:
My website has URL similar to [url]www.mysite.com/index.php?Id=1&p=orderlist[/url]

If i change the value of Id to 2, the respective contnt will get loaded. This shouldnt happen in my case. So please if some one now this, help me.

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 13.2010 — Not sure I understand, but perhaps this is a job for sessions?
×

Success!

Help @mharishm spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...