Enabling cookies

Posted by Mongz under ASP.NET on 10/3/2009 | Views : 1016 | Status : [Member] | Replies : 3
Hi guys
I'm using asp membership for user authentication and it works perfect. I want to store username into cookies once the user logs in, i tried to implement cookies behind the login control so that when the user logs in the username can be stored into cookies.
Once i implement the cookies behind the login control, the application cant log in anymore, it prompts log in fail message. I just need help on how can i implement this cookies in such a way the log in process cannot be affected.
Any help will be highly appreciated.




Responses

Posted by: Vuyiswamb on: 10/5/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Why dont you use a Session ?

Thank you for posting at Dotnetfunda
[Administrator]

Mongz, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Raja on: 10/5/2009 [Member] Starter

Up
0
Down
Do you have any further question "Mongz"?

Thanks

Regards,
Raja, USA

Mongz, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Tridev_2005 on: 10/12/2009 [Member] Starter

Up
0
Down
You can visit this articles

http://www.devasp.net/net/articles/display/252.html

Mongz, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response