Problem with Request.urlreferrer property
Hi,
In an aspx page, i am trying to access the urlrefferer which gives me "Object instance not set to an instance of an object" error.
Can you help me how to get the previous page URL?
Description
Assume that, There is one HTML button in the page1.aspx, the click event of this button redirects to the page2.aspx (through javascript window.location.href). In the page2.aspx, i wish to have the page1.aspx's URL. when i am using request.urlreferrer, i m getting this error.
Thanks in advance,
Regards,
Raja
|