[英]Windows phone Login sessions and session management
I am developing a windows phone app that has 2 user types and requires a login when starting the app. 我正在开发具有2个用户类型的Windows Phone应用程序,启动该应用程序时需要登录。
I am still new to windows phone development and am looking for a way which a can manage login sessions (an the types to, one can have more than one login session but must be of different user types). 我仍然不熟悉Windows Phone开发,并且正在寻找一种可以管理登录会话的方法(一种类型,可以有多个登录会话,但必须具有不同的用户类型)。 That is keep record of the login (A user will only login once when starting the for the first time app, unless he/she logout) and I also want to have a pin lock when a user has been inactive (or if he deactivated the app) to require to insert he/her pin to continue using the app. 这就是登录记录(用户首次启动该应用程序时只会登录一次,除非他/她注销),并且我还希望在用户不活动时(或者如果他停用了应用程式),要求插入他/她的图钉以继续使用应用程式。
Thanks a lot, 非常感谢,
You have to use Isolated storage to store your session data and when session ends you have to clear it. 您必须使用隔离存储来存储会话数据,并且在会话结束时必须清除它。
Please see my post on the same here: 请在同一位置查看我的帖子:
WP7 app that saves user settings WP7应用程序可保存用户设置
I hope these will solve your problem. 希望这些可以解决您的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.