i was thinking of using request.urlreferrer, but apparently norton and other antivirus block it. So i need a workaround to that. simple case - i have a login page and after logging in it should open up a popup and the login page should move to page 2. But this can only happen is i came from a certain page. how can i do this. If previous page = pageA.aspx then login.aspx onsubmit open popup else login.aspx onsubmit dont open popup