Q: I've set up TWIG and the login page comes up ok, but it will never
let me get past it. I'm sure I've setup twig correctly and that I'm
use the right name and password but it still doesn't work, what's
wrong?
OR
Q: I login to twig fine, but when i click on any of the links, it jumps
back to the login screen. I'm sure I've setup twig correctly and that
I'm use the right name and password but it still doesn't work, what's
wrong?
A: Check your cookie settings, twig uses cookies to store login info, if
your browser (or your firewall) disables them then it you have to use
basic auth.
Additionally, make sure the time, date, and timezone on both the
web server and the workstation are correct. The workstation and
web server can be in different timzones, but they both must be
set to something close to the correct time. By default, TWIG's
cookies expire after one hour, so a clock discrepancy of an hour
or more can cause the cookies to immediately expire. In most
configurations, you can test whether this is a time related
problem by setting:
$config["auth_timeout"] = 0;
in your config/config.inc.php3. This disables login timeouts in
most configurations. If that setting fixes your problem, then you
know for certain that the problem is related to a discrepancy in
the time, date, or timezone settings on either the workstation or
the web server.
Some machines (like Acorn RISC OS) are unable to understand anything
other than GMT - so you either have to use GMT on the server and
workstations, or increase or disable the timeout in
config.inc.php3.