I understand with SS services we can do sliding expirations a la…
http://teadriven.me.uk/2013/02/14/sliding-sessions-in-service-stack/
…but what about when using SS authentication (ie a CredentialsAuthProvider
) in an MVC project? Is there something that I can override that gets called on each page load? I’m guessing there are several ways, but am wondering what would be the most logical. Maybe a GlobalFilter
? Or making a custom base ServiceStackController
? Obviously I’d only want it to run for authenticated requests to slide the session expiry.