Old school stuff, probably everyone knows it, still sharing because had a little bit trouble tackling this. Thought its very easy and it is,
Why we need this? Here is why, you have a cookie where you save username and password for later use, and of course the cookies are encrypted.
Now you retrieve the cookie found that a user login info is there and user checked the “Remember Me” stuff. You need to set to both username and password in the text fields and pre-populate those.
In my case the password field is html markup.
Now I set the code from c# as below run the app didn’t worked.
1. password.Value = "1234567890";
That’s its this fine finally it worked like magic. no issue now.
Hope this helps to some lame, like me some day :D.