Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Folk's

I am developing lo-gin page and most of it is completed and i required to hide the URL i.e(if i copied the lo-gin page URL and i pasted in new tab address bar it must not open that lo-gin page )

It is my scenario can any plz help me out








thank's®ard's
mahesh.b.p.c
Posted

1 solution

Use session...

At login_load event count the session, but first store the username in session and check, i.e
C#
if(Session["Username"] == null)
    Response.Redirect("Home.aspx");
else
    Response.Redirect("Login.aspx");
 
Share this answer
 
Comments
mahesh.b.p.c 18-Jan-13 9:12am    
that is not my requirement ,i need to overcome copying the URL of any page and pasted in a address bar lo-gin page must not open that is my query ...

thank's for reply
[no name] 18-Jan-13 9:13am    
Have you tried out this code ?
mahesh.b.p.c 18-Jan-13 9:34am    
i already done with that code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900