Click here to Skip to main content
13,298,361 members (55,390 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how can i restrict user to go into results page by just typing pages url in addressbar .
i want user to go first to exam page, then he will be redirected to results page, but if he just types the url of results page, he is redirected to result page, which i don't want to happen.
Posted 20-Nov-12 21:56pm
Krunal R 21-Nov-12 2:57am
OK so what have you tried ?
Jasbeer Singh 21-Nov-12 2:58am
i dont know what should i try here, if it was before login, i can try session, but i want to retrict after login.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try using

If this value is empty it means that user is requesting the page by typing the url in address bar.

It should be exam page in your case.

Hope this helps.
Jasbeer Singh 21-Nov-12 8:10am
i want to restrict user. what to do for that

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171207.1 | Last Updated 21 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100