Write the first audio tracks on the first session, but don't close it. After that write the data file, then close the disc.
Use the known echelon method, its apply if you are using CDRWin or the cdrecord linux / cigwin tools. Look for them, they're not hard to find.