I have a scenario.... Suppose someone login any website from my Laptop. Now I want to get that password from viewstate. I know it is possible but I have no idea???
NEED SUGGESTION.....
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Oct 20, 2013, 10:02 PM EDT
Actually view state is able to store data on client side in page.... and it is valid for only on current session or up to the page access(means if we close the browser or redirect to other page than we cannot get view state data)...
so as per me view state has very short life so you cannot do this using view state...
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 20, 2013, 5:02 AM EDT
No, You cant. No one[site] will store the password in ViewState as its not recommended to store important values in ViewState.
Ravi ShekharRank #673 · 3.6K reputationPosted Oct 20, 2013, 8:17 PM EDT
then???
Jignesh TrivediRank #16 · 50.3K reputationPosted Oct 20, 2013, 8:45 PM EDT
I think it is not possible.... you may use session instead.....
but you can definate do this with cookeis...
Please refer
http://www.aspsnippets.com/Articles/Remember-UserName-and-Password-using-RememberMe-CheckBox-and-Cookies-in-ASPNet.aspx
http://www.freedotnetapps.com/asp-net/how-to-store-or-remember-username-and-password-after-login/
hope this will help you.
Ravi ShekharRank #673 · 3.6K reputationPosted Oct 20, 2013, 9:53 PM EDT
I am talking about some other user. Some one comes on my laptop and login on any website which store password using viewstate.
Now ii want to get password using viewstate
Ravi ShekharRank #673 · 3.6K reputationPosted Oct 20, 2013, 10:17 PM EDT