|Posted on Wednesday, November 28, 2001 - 8:30 pm: |
Whenever someone logs into our system (3.1 Pro) from IE or Netscape in Windows or Linux, the login fails the first time no matter what. After that, login works properly until the browser is exited and re-opened.
|Posted on Wednesday, November 28, 2001 - 11:24 pm: |
The solution to this problems deals with the URL you use to access the WebMO server login page.
Look closely at the URL in the 'address' or 'location' bar in your browser when you FIRST access the login screen. (It will be either what you type in or what you have bookmarked.) In particular, examine the hostname (server.domain.edu). This hostname MUST match the 'host' variable stored in the WebMO configuration file (globals.int). If one is fully qualified (server.domain.edu), the other cannot be unqualified (lacking .domain.edu).
To resolve the problem, simply correct your bookmark to the WebMO login page to match the hostname stored in the WebMO configuration file.
This is neccessary because of how browsers save the login cookies; the browser considers 'server.domain.edu' and the unqualified hostname 'server' to be DIFFERENT servers, and thus the login information for is not properly stored. However, when WebMO regenerates the login page, the URL is automatically corrected to match the WebMO configuration, and thus the login succeeds the second time.