fixed cookie bug

git-svn-id: http://yolanda.mister-muffin.de/svn@224 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
josch 2007-12-28 16:51:39 +00:00
parent 82c0a8e834
commit 6af789774a
2 changed files with 5 additions and 2 deletions

View file

@ -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(

View file

@ -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
{ {