Allow Access if ID is same as session ID value
I'm just creating an edit profile page.
Basically it's working great when I get there by the URL parameter ID is = session value.
However, I want to limit the access so that only that person can change their profile.
editprofile.php?ID=6 = Mr Bloogs
editprofile.php?ID=5 = Mr Smith
I am logged in as Mr bloogs, if I change the ID i can change a different profile.
I've set up a rule for show region if ID = Session value but it's not working.
Can you help?
Attached is the page grab.