view(cgi) script and given you use client sessions (which is the default) and given you call
viewfrom the command line then the global variable
UseClientSessionis set to
0and is not reset to its original value on any further call, thereby snafu-ing template login. Changing values in the
TWiki::cfghash is a very bad thing. These are read-only config values. I did not check any other code of the same pattern.