WordPress – using sessions?

It’s probably better to add your session_start(); to the top of your header.php file if you’re planning to use it in your theme.

If you are wanting to use a session in the admin, I’d recommend either passing variables through $_GET or $_POST. Also, if you need long term storage of variables, it’s pretty easy to store things in the options table. See the Settings API