Silverlight / WPF - Maintain User State After logged in SL MVVM

Asked By gopal krish on 20-Jun-12 04:41 AM
hi..

i want to Maintain User State After logged in SL MVVM..

i have a silver light url like below

https://www.sample.com/index.aspx?email=123@gmail.com


now i entered username and passwrd and logged in to user main page .

now if i refresh my page it will come to login page. but in my login page i checked the query string value and verify it then i will automatically logged in to user mainpage.

its working fine.

but after login i copied the same URL and pasted into other new browser means i will not logged in to user main page, i have to stay in login page only.


how to achieve this..

need ur suggestions with examples..

regards
gopal.s
Jitendra Faye replied to gopal krish on 20-Jun-12 06:35 AM
Reference from-

http://go4answers.webhost4life.com/Example/maintain-logined-user-info-silverlight-150488.aspx

solution try like this-

client.SetSessionValueForKeyAsync(txtAddSessionKey.Text, txtAddSessionValue.Text);