fixed cookie bug
git-svn-id: http://yolanda.mister-muffin.de/svn@224 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
parent
82c0a8e834
commit
6af789774a
2 changed files with 5 additions and 2 deletions
|
@ -175,6 +175,10 @@ sub output_page
|
||||||
{
|
{
|
||||||
@cookies = [$session->cookie(-name=>$session_name, -value=>$session->id), $session->cookie(-name=>'cortado', -value=>'false')];
|
@cookies = [$session->cookie(-name=>$session_name, -value=>$session->id), $session->cookie(-name=>'cortado', -value=>'false')];
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
@cookies = [$session->cookie(-name=>$session_name, -value=>$session->id)];
|
||||||
|
}
|
||||||
|
|
||||||
#send everything including http headers to the user - if xslt chosen is xspf set download filename
|
#send everything including http headers to the user - if xslt chosen is xspf set download filename
|
||||||
return $session->header(
|
return $session->header(
|
||||||
|
|
|
@ -123,8 +123,7 @@ if($query->param('query'))
|
||||||
}
|
}
|
||||||
elsif($query->param('advanced'))
|
elsif($query->param('advanced'))
|
||||||
{
|
{
|
||||||
$page->{'advancedsearch'} = [''];
|
print $query->redirect("index.pl?error=error_202c");
|
||||||
print output_page();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue