Forum Discussion
Ed_27995
May 29, 2008Nimbostratus
Hi Aaron,
Thanks very much for your reply!
The HTTP::redirect is the better way to accomplish the redirection- I am amending my code now.
Some more info regarding the intent here- the BigIPs serve an online class system, and student access to classes are restricted when class is not in session. I'll be locking the student accounts in the app, but the login attempts result in a "problem logging you in, contact server administrator" message, which generates a lot of angst .
It seems more elegant to redirect attempted student logins to a page explaining access is restricted due to maintenance and will be restored at the beginning of the next academic term. If someone were to figure out a way to send a web request bypassing the redirection, they will simply see one of the "unfriendly" error messages.
The webctid is one of the account credentials being passed during a logon attempt, and seems to be the best (only) way to differentiate accounts and implement the redirection. Student accounts are all numeric, so I suppose I could just check the leading character, and if it's a digit then impose the redirection. That would mean one findstr operation and one comparison.
Ed