Logout doesn't really log me out?

I sometimes get in a weird state where clicking on the Logout link
doesn’t log you out, it rather does the same thing as clicking on
Home. I’m using mason_handler.fcgi.

Has anyone else seen this happen and what did you do to track it down
and correct it? I’m a little bit lost on this one.

Also, I’ve hacked a bit so one can have more than one database on the
same machine. Unfortunately, that only works with the FastCGI
implementation so far. It means a number of changes in the
installation, adds a ‘createapp.sh’ script that adds the application
you wish to have, and splits config.pm into two parts, one for system-
global information and one for per-application information. It works
as well for use with webmux.pl, but only for one application per site.
I’ll send in the patch soon if this seems interesting.

Richard Levitte \ Spannv�gen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis – poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.

“RL” == Richard Levitte ← VMS Whacker levitte@stacken.kth.se> writes:

RL> I sometimes get in a weird state where clicking on the Logout link
RL> doesn’t log you out, it rather does the same thing as clicking on
RL> Home. I’m using mason_handler.fcgi.

RL> Has anyone else seen this happen and what did you do to track it down
RL> and correct it? I’m a little bit lost on this one.

This only happens to me when I’m logged in as root to do admin stuff.
When logged in as a normal user, it works as expected.

I’ve never bothered to track it down since I’m rarely in as root and
just quit the browser.

khera> >>>>> “RL” == Richard Levitte ← VMS Whacker levitte@stacken.kth.se> writes:
khera>
khera> RL> I sometimes get in a weird state where clicking on the Logout link
khera> RL> doesn’t log you out, it rather does the same thing as clicking on
khera> RL> Home. I’m using mason_handler.fcgi.
khera>
khera> RL> Has anyone else seen this happen and what did you do to track it down
khera> RL> and correct it? I’m a little bit lost on this one.
khera>
khera> This only happens to me when I’m logged in as root to do admin stuff.
khera> When logged in as a normal user, it works as expected.

I get that with normal users as well. However, I’ve discovered that
this seems to depend on the browser. Everything works fine with
Netscape, but I get the above behavior with Opera.

Richard Levitte \ Spannv�gen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis – poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.

I get that with normal users as well. However, I’ve discovered that
this seems to depend on the browser. Everything works fine with
Netscape, but I get the above behavior with Opera.

Is this with 2.0.8? With some earlier revs, we weren’t properly sending a no-cache pragma…

-j


Richard Levitte \ Spannvägen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis – poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Opera is displaying the cached page. I had similar problems, a refresh
didn’t help either. I can’t remeber exactly, but I think I changed the
cache prefs to Always check modified documents, instead of after 5 hours or
something like that.

-Josh

jesse>
jesse> > I get that with normal users as well. However, I’ve discovered that
jesse> > this seems to depend on the browser. Everything works fine with
jesse> > Netscape, but I get the above behavior with Opera.
jesse>
jesse>
jesse> Is this with 2.0.8? With some earlier revs, we weren’t properly sending a no-cache pragma…

I’m testing the latest stuff from the CVS repository, main trunk.

Richard Levitte \ Spannv�gen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis – poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.

krikke> Opera is displaying the cached page. I had similar problems, a refresh
krikke> didn’t help either. I can’t remeber exactly, but I think I changed the
krikke> cache prefs to Always check modified documents, instead of after 5 hours or
krikke> something like that.

That did it! Thanks a bunch!

Richard Levitte \ Spannv�gen 38, II \ LeViMS@stacken.kth.se
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-733-72 88 11
Procurator Odiosus Ex Infernis – poei@bofh.se
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, GemPlus: http://www.gemplus.com/

Unsolicited commercial email is subject to an archival fee of $400.
See http://www.stacken.kth.se/~levitte/mail/ for more info.

“RL” == Richard Levitte ← VMS Whacker levitte@stacken.kth.se> writes:

khera> This only happens to me when I’m logged in as root to do admin stuff.
khera> When logged in as a normal user, it works as expected.

RL> I get that with normal users as well. However, I’ve discovered that
RL> this seems to depend on the browser. Everything works fine with
RL> Netscape, but I get the above behavior with Opera.

I’m using Opera all the time, so it must be some combination of
things.

“JV” == Jesse Vincent jesse@bestpractical.com writes:

I get that with normal users as well. However, I’ve discovered that
this seems to depend on the browser. Everything works fine with
Netscape, but I get the above behavior with Opera.

JV> Is this with 2.0.8? With some earlier revs, we weren’t properly
JV> sending a no-cache pragma…

It doesn’t have to do with no-cache; a forced reloading the page
would normally cause it to do the right thing. In this case, the
logout doesn’t happen – you can click about and continue working.

If your browser actually hits and loads /NoAuth/Logout.html, your
session should be gone. Can you verify (from http server logs) that
it’s doing this?

If your copy of opera has decided to cache /NoAuth/Logout.html,
say due to the no-cache issue I describe earlier, then the RT server
will never know you clicked Logout and you will not be logged out.On Thu, Nov 08, 2001 at 04:26:40PM -0500, Vivek Khera wrote:

“JV” == Jesse Vincent jesse@bestpractical.com writes:

I get that with normal users as well. However, I’ve discovered that
this seems to depend on the browser. Everything works fine with
Netscape, but I get the above behavior with Opera.

JV> Is this with 2.0.8? With some earlier revs, we weren’t properly
JV> sending a no-cache pragma…

It doesn’t have to do with no-cache; a forced reloading the page
would normally cause it to do the right thing. In this case, the
logout doesn’t happen – you can click about and continue working.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

“JV” == Jesse Vincent jesse@bestpractical.com writes:

JV> If your browser actually hits and loads /NoAuth/Logout.html, your
JV> session should be gone. Can you verify (from http server logs) that
JV> it’s doing this?

JV> If your copy of opera has decided to cache /NoAuth/Logout.html,
JV> say due to the no-cache issue I describe earlier, then the RT server
JV> will never know you clicked Logout and you will not be logged out.

That must be it. When I’m root, I usually last only a few minutes in
RT, and Opera holds the cache for 5 minutes whether you want it to or
not. They really need to fix this issue… grr.