-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2007-Nov-19, at 12:30, Torsten Brumm wrote:
Hi Matt,
which session handling you use? In your RT_SiteConfig.pm, have you
commented out:
Set($WebSessionClass , 'Apache::Session::File');
??? I had several problems if i use this (two webservers, load
balanced, shared directory) so i switched to the normal and store
the sessions inside the DB
Thanks for the response, Torsten.
I make no reference to any session handling configuration in my
RT_SiteConfig, so the default should be active. I'm assuming that's
the database. I'm not using any load balancing though.. the RT
server is stand-alone, with the database local, so I wouldn't expect
any problems with session synchronization.
I've done some header capture to demonstrate the problem, but so far
I haven't had any luck in tracking down where in the code it's
happening.
In my paste below I show two requests captured using LiveHTTPHeaders
in Firefox. The two requests are only 1 second apart, but you can
see from the second response that RT has either decided to expire the
session in use, or has lost it entirely. As noted before, even at
'debug' level, RT doesn't log anything when this happens.
Matt
- ----------------------------------------------------------
http://rt.foo.com/Search/Build.html
GET /Search/Build.html HTTP/1.1
Host: rt.foo.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:
1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://rt.foo.com/Approvals/
Cookie: RT_SID_CIRA.80=51e2f85a9b368158a5da550f106e6a14
HTTP/1.x 200 OK
Date: Mon, 19 Nov 2007 17:50:47 GMT
Server: Apache
Pragma: no-cache
Cache-Control: no-cache
Keep-Alive: timeout=5, max=94
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
- ----------------------------------------------------------
http://rt.foo.com/Search/Simple.html
GET /Search/Simple.html HTTP/1.1
Host: rt.foo.com
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:
1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://rt.foo.com/Search/Build.html
Cookie: RT_SID_CIRA.80=51e2f85a9b368158a5da550f106e6a14
HTTP/1.x 200 OK
Date: Mon, 19 Nov 2007 17:50:48 GMT
Server: Apache
Pragma: no-cache
Set-Cookie: RT_SID_CIRA.80=e33d394fc26656ed41b13cc6c36900bb; path=/
Cache-Control: no-cache
Keep-Alive: timeout=5, max=95
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
- ----------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
iD8DBQFHQc56mFeRJ0tjIxERAmYaAJ9vEOFCyEd9dng1O5scmo/WiuKVZQCffTyA
b/Spuqee9v6dsCFKT4/qYWM=
=TdXr
-----END PGP SIGNATURE-----
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com