add session id to url if no cookie is created

git-svn-id: http://piwigo.org/svn/branches/release-1_3@326 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-01-29 20:59:50 +00:00
parent 81308b60fc
commit 729be610db

View File

@@ -109,7 +109,7 @@ if ( isset( $_POST['submit'] ) )
}
// redirection
$url = 'category.php';
if ( isset( $_POST['create_cookie'] ) ) $url = add_session_id( $url,true );
if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true );
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );