Posted on: 3/22/2011 9:52:06 AM | Views : 296

I try before the <asp:login ,  but it make table and I had alot of problem with the compatibility in another browsers, and I want improve my asp.net skills
so I decided to make my own text box with buttons and checkbox (for remeber me button).


How to deal with the cookies and authenticate ?
I know I need write
if (Membership.ValidateUser(username_inserted.Text, password_inserted.Text))
{ but what next?


what to write after the "if (Membership.ValidateUser(...
{ "  ...    ?? how to authenticate the user ? how to create cookie (if the user is check the "remeber me" checkbox) ??? (I'm using Encrypted) after the user already log in , how to read the cookie after he did close the browser??? and when to read the cookies? each time page load? Go to the complete details ...