Is there any way to control when users can login in a site or not? Example: I have a bunch of FBA users that can only login in the site from monday to friday, each day from 6am to 7pm.

  • You can inject a JavaScript on MasterPage, on Page load check if the timing is correct, if not redirect them to custom page displaying the message..? Apr 10, 2014 at 19:49

1 Answer 1


Write a custom http module for this requirement . Since it runs on each and every page, before you land make a check of the current time .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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