Posted on: 4/12/2011 2:01:40 AM | Views : 306

Hello guys,
What i d like to do, is forbid people to access a certain page of a website.
I want them to have access in this particular page only when i redirect them from another page. I dont want them to be able to type the url of the page and be able to see it..
I could use HttpContext.Current.Request.ServerVariables["HTTP_REFERER"] in order to check if the page was called from the page i want it to be called from, but HttpContext.Current.Request.ServerVariables["HTTP_REFERER"] is not very reliable. Like returning null depending on browser settings etc.. 
Any other alternatives ?
 
...

Go to the complete details ...