Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#4.0 ASP.NET4.0
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




Posted 18-Jan-13 3:01am

1 solution

Rate this: bad
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)
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
0 OriginalGriff 6,649
1 Sergey Alexandrovich Kryukov 6,270
2 CPallini 5,190
3 George Jonsson 3,574
4 Gihan Liyanage 2,522

Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Jan 2013
Copyright © CodeProject, 1999-2014
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