Click here to Skip to main content
12,251,889 members (61,576 online)
Rate this:
Please Sign up or sign in to vote.
See more: MVC3
How can i create a cookie step by step,

that stores the user login id and password when he/she clicks Remember Me? option

and i am planing to kill this cookie after certain time
Posted 13-May-12 23:05pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Here have a look on how cookies are used in MVC: HowTo: create and remove Cookies with ASP.NET MVC[^]

Use the logic to have a 'remember me' feature.
Do read discussion on similar topic here: Implementing “Remember Me” Feature in ASP.NET MVC[^]
P_A_1 14-May-12 5:56am
Hi sandeep,

It seems to be these links will help...
Sandeep Mewara 14-May-12 8:24am
Good to know.
member60 15-May-12 0:40am
Sandeep Mewara 15-May-12 1:18am
Thanks member60.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 14 May 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100