Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0ASP.NET4.0
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 at 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 at 18-Jan-13 9:13am
   
Have you tried out this code ?
mahesh.b.p.c at 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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 895
1 OriginalGriff 523
2 thatraja 245
3 Abhinav S 243
4 Emre Ataseven 200
0 Sergey Alexandrovich Kryukov 8,142
1 OriginalGriff 4,665
2 Peter Leow 3,774
3 Maciej Los 3,515
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web03 | 2.8.140415.2 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid