Cookies generation is a Joomla issue, and the new API is not backwards compatible.
In Joomla 1.0, the $mainframe->login() does it, based on the remember post value. This is now in the API in Joomla 1.5...
To make that one work, you need to change this in CB in comprofiler.php, in function login:
[code:1]<?php
if ( $hashedPwdLogin ) { // Joomla 1.0.12 and below:
$mainframe->login( $username, cbHashPassword( $passwd2 ) );
} elseif ( checkJversion() == 1 ) { // Joomla 1.5 RC and above:
$mainframe->login( array( 'username' => $username, 'password' => $passwd2 ), array() );
} else {
$mainframe->login( $username, $passwd2 );
}
[/code:1]
to:
[code:1]
<?php
if ( $hashedPwdLogin ) { // Joomla 1.0.12 and below:
$mainframe->login( $username, cbHashPassword( $passwd2 ) );
} elseif ( checkJversion() == 1 ) { // Joomla 1.5 RC and above:
$mainframe->login( array( 'username' => $username, 'password' => $passwd2 ), array( 'remember' => cbGetParam( $_POST, 'remember' ) ) ); // THIS LINE CHANGED !
} else {
$mainframe->login( $username, $passwd2 );
}
[/code:1]
This is now fixed for next CB release.