php_flag session.use_trans_sid off php_flag session.use_cookies on
ini_set('session.use_trans_sid', 0);