Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Listmaster / failed_to_create_web_session
- From: "Stefan Hornburg (Racke)" <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Listmaster / failed_to_create_web_session
- Date: Sat, 5 Aug 2017 10:00:41 +0200
On 08/04/2017 07:18 PM, Youcef N Baouchi (via sympa-users Mailing List) wrote:
> Hey All,
>
>
>
> Has anyone randomly reiceved an error via email from sympa with the subject
> “Listmaster / failed_to_create_web_session”.
> The body is blank.
>
>
>
> Thanks,
>
>
> Youcef
>
Hello Youcef,
I never seen this error - it is triggered in the following code in WWSympa
CGI script:
$session = Sympa::Session->new(
$robot,
{ 'cookie' =>
Sympa::Session::get_session_cookie($ENV{'HTTP_COOKIE'}),
'action' => $in{'action'},
'rss' => $rss,
'ajax' => $ajax
}
);
# Getting rid of the environment variable to make sure it won't be
# affected to another anonymous session.
undef $ENV{'HTTP_COOKIE'};
unless (defined $session) {
Sympa::send_notify_to_listmaster($robot,
'failed_to_create_web_session', {});
wwslog('info', 'Failed to create session');
$session = Sympa::Session->new($robot, {});
}
Sympa looks up the cookie provided by the user in the table "session_table".
So this message would
be triggered by a bogus / broken cookie.
Regards
Racke
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.
-
[sympa-users] Listmaster / failed_to_create_web_session,
Youcef N Baouchi, 08/04/2017
- Re: [sympa-users] Listmaster / failed_to_create_web_session, Stefan Hornburg (Racke), 08/05/2017
Archive powered by MHonArc 2.6.19+.