1

My biggest problem with my ServiceStack apps so far is the service timing out after the user is idle for a long period of time. I have read all the authentication notes but I'm fairly new to web authentication so I'm not always sure which features will help.

The current app I'm testing is actually a Winforms app that serves as an offline client to a web app, but can occasionally log onto the service when connected to the internet. When logging in with this app, what is the best was to keep the (singleton) serviceClient logged on until the program closes?

thank you.

2
  • 1
    How do you host the Service? Perhaps you run into some issues with IIS apppool sleep? Aug 11, 2013 at 16:09
  • It sounds like a user authentication token/cookie expiring. This can be avoided by using a different auth scheme, such as passing credentials in the headers (encrypted/hashed, of course)
    – rossipedia
    Aug 11, 2013 at 16:46

1 Answer 1

1

Boas Enkler was correct - the IIS Application Pool timeout was shutting down the ServiceStack service. Thanks for the tip!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.