Implementing automatic logout in silverlight and wcf due to user inactivity
- by rubin-attack
I have a WCF web-service and a Silverlight app displaying data from that service. In my service I'd like to implement automatic logout of the user, if no service methods were invoked during a period of time (for example 20 minutes).
I'm thinking about smth like that:
Dictionary<User,TimeSpan> Inactivity
When a service method is invoked i…