How set logout page in automatic end session

Hello, I m using:

‘class’ => ‘CDbHttpSession’,

      'timeout' => 10,//2400,

for end user session. But I cant find where set a custom url after automatic logout, by example "/site/logout". Always redirect to "home" url.

I have tried extending CWebUser and set the returnUrl in before and afterLogout, but doesnt work.

Thanks.