[Mono-aspnet-list] Forms authentication with MVC project

Austerus andrei at dragonflame.org
Fri Jan 8 05:12:09 EST 2010


Hello,

I wonder if anyone has had to deal with building a basic authentication
system for a MVC with Mono. I have tried and for some reason I haven't
managed to find a good way.

First of all, I added the necessary info to webconfig and it seems ok, when
I try to access any path in my project, I get redirected to the proper login
URL. However, the login page itself has an issue as in the server returns an
error that the function for processing the form doesn't exist.

However, it does exist, I put a <script runat"server"> block there defining
a void ProcessLogin function, the same name as mentioned in the onclick of
my button control. I have also tried placing a similar function in the
proper controller, but that didn't work either.

Any examples/ideas?

Thanks!
-- 
View this message in context: http://old.nabble.com/Forms-authentication-with-MVC-project-tp27073822p27073822.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list