Logged out when trying to open attachment

Moderator: crythias

Locked
patrict
Znuny newbie
Posts: 2
Joined: 01 Mar 2011, 09:10
Znuny Version: 2.4.9

Logged out when trying to open attachment

Post by patrict »

Hi all,

I really hope someone can help!

I have just upgraded from 2.3.3 to 2.4.9, and I am seeing very strange behaviour. I open a ticket with an attachment, and when I click on the attachment to open/download it, I am taken back to the login screen, with the URL looking like this:

http://mydomain.com/otrs/index.pl/my_at ... 3;FileID=2

If I login, the attachment downloads and I am presented with the login screen again. I then need to clear the URL back to http://mydomain.com/otrs/index.pl before I am able to login normally again.

There are no errors in the error_log or the messages log :(

Any help would be much appreciated!

System Info:

Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Linux 2.6.9-89.0.26.EL #1 Sun May 30 09:20:39 EDT 2010 i686 i686 i386 GNU/Linux
httpd-2.0.63-2.el4s1.centos.2
OTRS 2.4.9-01
Perl v5.8.8 built for i386-linux-thread-multi
mod_perl-2.0.2-6.1

Thanks
Patric
patrict
Znuny newbie
Posts: 2
Joined: 01 Mar 2011, 09:10
Znuny Version: 2.4.9

Re: Logged out when trying to open attachment

Post by patrict »

For anyone else sitting with this problem, I have managed to resolve the issue.

Config.pm

$Self->{'SessionUseCookie'} = 1;

Mine was set to 0 which appears to be what was causing the problem.

Thanks
Patric
Locked