how to restrict the page to be browsed in the other browser with the same urls with out logging asp.net & c#.net.

FormsAuthentication is a solution

and why to wait 4 24Hr..

just google around...get the thing you want.. :)

how to do form authentication i m new pls guide me

Google :)

sorry i dnt have much time..

i tried it in google 3 hour passed but i dont get proper result pls give me 2 minuts

i want this on page load previous page

i want this on page load previous page

No need to write anything on page
Just paste the following code in your web.config under <system.web> section

<authentication mode="Forms">
      <forms name="adAuthCookie" loginUrl="Login.aspx" timeout="60"/>
    </authentication>
    <authorization>
      <deny users="?"/>
     </authorization>

Marks as solved if it helps you!!!

in my page if i copy the default .aspx and in place of login.aspx my default page opens in same browzer i want to stop this opening how can i????

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.