Hi All,

On my home page i send the user to the login screen if they are not already logged in! Using:

Response.Redirect("Login.aspx")

But i dont want to do this if they are already on the Login.aspx. Is there a funtion which will show me the current page the post back came from?

so i can say

if ?????? <> "Login.aspx" then
Response.Redirect("Login.aspx")
end if