easy way is to add section to your web.config that tell your app to allow
anonymous users...

    <location path="MyOpenToAllPage.aspx">
        <system.web>
            <authorization>
                <allow users="?"/>
                <!-- Allow all users -->
            </authorization>
        </system.web>
    </location>



On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>   Hi all,
>
> I have an application that requires a user to log in every time. I use
> forms authentication. This all works fine. But now I want my initial url to
> display a web page that does not require logging into. So non-registered
> users can callup this page. I would then put a hyperlink on this page to Log
> In. This typical of many sites.
>
> My question is what is the best way to do this? Not sure if I should put
> this new page in my current ASP.Net 2.0 web site project or creat a new
> project. My web.config has the XML tags that requires forms
> authentication. So how can I make my new page bypass this? I hope this makes
> sense! I just would like to have this structured the best possible way.
>
> Thanks,
> Bob
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP


[Non-text portions of this message have been removed]

Reply via email to