[SOLVED] Problem with session

Moderator: crythias

Post Reply
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

[SOLVED] Problem with session

Post by voiprodrigo »

Hi,

When an agent receives a mail notification with a URL link to a ticket, and clicks on it, OTRS will request login page even if the agent has a browser session already open in the system. This is cumbersome. Not sure if it's a problem with my installation/configuration, or by design.

Any tips about this?

Thanks.
Last edited by voiprodrigo on 22 May 2015, 01:56, edited 1 time in total.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Re: Problem with session

Post by voiprodrigo »

No one? I'm not even sure this is a setup/config problem or OTRS sessions just work like this.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: Problem with session

Post by EXG133 »

We noticed the same thing. Turns out people browse to http://otrs/index.pl and the notifications had the URL http://otrs.domain.example/index.pl
Once we changed the notifications to not include the domain there was no need to reauthenticate.
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Re: Problem with session

Post by voiprodrigo »

EXG133 wrote:We noticed the same thing. Turns out people browse to http://otrs/index.pl and the notifications had the URL http://otrs.domain.example/index.pl
Once we changed the notifications to not include the domain there was no need to reauthenticate.
Uhm.. what is the FQDN you have configured on sysconfig? otrs or otrs.domain.example?
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
voiprodrigo
Znuny newbie
Posts: 62
Joined: 03 Dec 2014, 18:49
Znuny Version: OTRS 4
Location: Portugal
Contact:

Re: Problem with session

Post by voiprodrigo »

Figured it out.

I have http type configured as HTTPS (which enables secure cookies), but on the notification emails had http hard-coded, so I just changed the templates to have https.
Linux (Ubuntu 14.04.1 LTS) | MySQL 5.5.40 | OTRS 4.0.7
Post Reply