Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Session Cookies


ardentfrost
Member

@ardentfrost

I’m not sure, but looking at the pluggable code, you might be able to drop this into your my-plugins directory and it work without changing core files:

function bb_cookie( $name, $value, $expires = 0 ) {

global $bb;

if ( !$expires )

$expires = time() + 604800;

if ( isset( $bb->cookiedomain ) )

setcookie( $name, $value, $expires, $bb->cookiepath, $bb->cookiedomain );

else

setcookie( $name, $value, $expires, $bb->cookiepath );

}

Then make the same change you made last time (changing 604800 to 0 or something, whatever you did)

Skip to toolbar