Hi amandalynn
I'd liked to share some ideas and put them to the test.
Step 1: User go to a .NET web site, Sign in.
Step 2: Get the SessionID (For example: sessionid=ffj12d455p0ujr45vdqwhh45) and store in DB (For example,DataBaseName=SQLDB)
Step 3: Redirect to a PHP web site by link http://phpsite/default.jsp?sessionid=ffj12d455p0ujr45vdqwhh45
Step 4: Get sessionid in PHP web site, verify the sessionid in your SQLDB,
Step 5: If user is offline, please remove the sessionid from SQLDB.
If you wish, find the article about how to Share Session State on MSDN Library
Following the link below, Hope it helps
http://msdn2.microsoft.com/en-us/library/aa479313.aspx