mysql_session_open is just a callback function that gets called by PHP [php.net] when a session is opened. PHP [php.net] is so nice as to pass the two $session_save_path and $session_name parameter to your callback function. If you donīt want to use them then donīt. However it is probably good style to use $session_save_path to configure the name of the database and $session_name to configure the table. That way you will not have to change your session code but can simply use the normal php_value/ini_set [php.net] configuration mechanism to use different databases and tables.
So you would do a
[url=http://www.php.net/mysql_connect]mysql_connect[/url]($session_save_path); and [url=http://www.php.net/mysql_select_db]mysql_select_db[/url]($session_name);.
In your .htaccess file you would then specify the name of the db and table like so: