Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I have to create a login page in Asp.Net MVC.I want use the cookies concept into it as well ie(save cookies).
The login will be based on three parameters say(RegistrationNo,Date of Birth,Password).My login options are on the home page itself.Im done with comparing the the parameter and navigating to the desired view after the successfull login.
Im doing this at the [HttpPost] action of Index method.When the user after filling the login details(RegistrationNo,Date of Birth,Password) click on Login the values are compared from the database and on successfull login the navigation is taken to a certain page.Im successfull in doing this.
My issue is i want to save the cookies as well.
Can anyone provide me with some Example/Walk Through/Short Video Tutorial to do this task.
Please guide/help on this.
Posted

Check out these links. It has step-by-step procedures in creating a Login page for MVC3.

http://msdn.microsoft.com/en-us/library/windowsazure/hh127794.aspx[^]

Implement Own Login Process with MVC 3[^]

Regards,
Eduard
 
Share this answer
 
Using cookies in ASP.NET MVC is no different than an ASP.NET Web application. There are many resources available that cover this topic.
 
Share this answer
 
Comments
Member 8121187 7-Dec-11 10:05am    
cn u provide me with any of those resources

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900