[Mono-aspnet-list] Can Default.aspx be renamed
Alberto León
leontiscar at gmail.com
Wed Oct 5 05:11:28 EDT 2011
The best way is continue using Default.aspx as start page.
In Default.asxp page_load method you should check if the user is logged /
authenticated. If not you should redirect to login.aspx
Another option is put in Default.aspx a login controller...
Please, read asp.net membership provider articles to have some knowleadge
about login patterns.
2011/9/22 nalinirrajan <nalinirrajan at gmail.com>
> Hello all,
>
> I had developed a project using Visual Studio Web developer Express
> edition.
> The startup page in the project was login.aspx.
>
> I am now using MonoDevelop. If I build the app and run it, it gives Server
> Error - Resources not found error.
>
> If I rename login.aspx to Default.aspx it works fine.
>
> Is there any way of keeping the file name as login.aspx and setting it as
> the startup page ?
>
> Regards,
> Nalini
>
>
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Can-Default-aspx-be-renamed-tp3832951p3832951.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20111005/cca54214/attachment.html
More information about the Mono-aspnet-list
mailing list