Hi,
I used Request.ServerVariables["HTTP_REFERER"] . When user enters direct url then it returns "Null".
i don't know about ServerVariables. thanks for the information.
for getting previous page URL please Refer
this link[
^]
hope this will help you
thanks
-Amit.