Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to prevent access during site maintenance?

Andrew Hill-OracleJun 5 2015 — edited Jun 5 2015

I have a requirement to prevent users from using the site whilst a database upgrade is in process. We can tell that an upgrade is in progress by checking for the existence of a record in a specific table.

What I would like to happen is for the user to be allowed to log in, but then immediately redirected to a maintenance page and logged out.

Is this a reasonable requirement and if so how should I approach this?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 3 2015
Added on Jun 5 2015
6 comments
1,044 views