[Mono-aspnet-list] Can Default.aspx be renamed
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
> 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 ?
> View this message in context:
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-aspnet-list