0

Hi,

I'm new to ASP.NET MVC framework.Previously i was worked with ASP.Net forms.Now the issue is i want to implement a login page.I have already done the other stuff.I want to know where to add "FormAuthenticationTicket class"?

I'm using MVC3 and .Net framework 4.

2
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by LastMitch
0

@DeepAnalyzer

Previously i was worked with ASP.Net forms.Now the issue is i want to implement a login page.I have already done the other stuff

I assume you ran your code without any issues before you add this class?

I want to know where to add "FormAuthenticationTicket class"?

Read this introduction about it:

http://support.microsoft.com/kb/910443

and also read this (there's an example you can try):

http://msdn.microsoft.com/en-us/library/system.web.security.formsauthenticationticket.aspx

0

@LastMitch:Thanks.But already i have checked that.In that example.The code is inside aspx page as a script.But i want to know is that anyway to put the code inside Controller or Model class?

Edited by DeepAnalyzer: edit

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.