ISSUE: Login Redirect URL is not working; users are not redirected to the specified page on login
SYMPTOMS: You've set a specific URL for the users to go to when they log in and this is not working; people are logging in and seeing the home page initially.
RESOLUTION: In IIS on the web server, set the default document index.htm to the top (higher than index.cfm).
Edit index.cfm and change the URL parameter from URL=/Site/view.cfm?siteID=1 to URL=/login/site_login.cfm
If that doesn't work, use index.htm instead.
Explanation: When you go to your intranet, IIS checks the default document list. It probably finds index.cfm first.
Index.cfm does nothing itself, but because its a .cfm file, application.cfm is called, which then redirects again to:
Because it's inserting a redirect to site_login.cfm, this is overriding the internal redirect set for the user in login settings, and is going to the main page.
When you logout and then log back in, the request is to:
so there is no redirect in the login url, so the internal redirect set on the user gets picked up and used, and redirects correctly.
In IIS, when you set the default document index.htm to the top (higher than index.cfm) and edit index.cfm and change the URL parameter from URL=/Site/view.cfm?siteID=1 to URL=/login/site_login.cfm, and you go to http://INTRANET it will redirect to http://INTRANET/login/site_login.cfm without the redirect parameter, so the system will pickup the internal redirect.