RT creates a new session every 'Take', 'Update Ticket', 'Save'

Hi,

I’m testing out rt3.6.6 and found that every time I create a ticket,
update a ticket, or take a ticket (possibly even with more actions) I
get sent back to the login page.

In the logs everything seems fine…

I have set firefox to ask me before storing cookies, and found that
whenever I click one of the mentioned actions I get a new session
cookie. Of course, in the new session I’m not yet authenticated,
therefore I get sent back to the login page.

I’m using postgres, but have also tried setting $WebSessionClass to
‘Apache::Session::File’, but the problem persists.

I have searched and found many others with this type of problem
(example: Carbon60: Cloud Consulting - Services and Solutions)
, but have not found a solution!

Any guidance toward debugging this is welcome!

Paulo F. Andrade
pauloandrade@ist.utl.pt

SOLVED

Ok i found out what was wrong, I had a trailing ‘/’ in $WebBaseURL,
and whenever I performed one of those actions the url changed to
something like:

http://server.com//rt/

Because of the two forward slashes after the hostname the already
stored cookie wasn’t being sent. Removing the trailing slash from the
$WebBaseURL solved it.

Thank you for your time.

Paulo F. Andrade
pauloandrade@ist.utl.ptOn Feb 11, 2008, at 6:56 PM, Paulo Filipe Andrade wrote:

Hi,

I’m testing out rt3.6.6 and found that every time I create a ticket,
update a ticket, or take a ticket (possibly even with more actions) I
get sent back to the login page.

In the logs everything seems fine…

I have set firefox to ask me before storing cookies, and found that
whenever I click one of the mentioned actions I get a new session
cookie. Of course, in the new session I’m not yet authenticated,
therefore I get sent back to the login page.

I’m using postgres, but have also tried setting $WebSessionClass to
‘Apache::Session::File’, but the problem persists.

I have searched and found many others with this type of problem
(example: Carbon60: Managed Cloud Services)
, but have not found a solution!

Any guidance toward debugging this is welcome!

Paulo F. Andrade
pauloandrade@ist.utl.pt


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com