Click here to Skip to main content
12,507,173 members (61,265 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0 ASP.NET4
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 18-Jan-13 3:01am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Use session...

At login_load event count the session, but first store the username in session and check, i.e
if(Session["Username"] == null)
    Response.Redirect("Home.aspx");
else
    Response.Redirect("Login.aspx");
  Permalink  
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
Krunal Rohit 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100