hi,
there...im trying to figure out where to use these authentication codes as im trying to come up with a login page. these codes are used over the <head> tag, but is it used within the <html> tag?
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!-- enable forms authentication -->
<system.web>
<authentication mode="Forms">
<forms name="ASP101SampleAuth" loginUrl="login.aspx" />
</authentication>
</system.web>
<!-- set secure page to reject anonymous users -->
<location path="login-protected.aspx">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
</configuration>