Is it possible to check for a session with out starting one?
The reason that I ask is, the app I am developing has an integrated admin interface. So when an admin is logg
You could check if the PHPSESSID cookie is set (the PHPSESSID name may have another name, depending on your server settings, check ini.session.name).
But if all you fear is poluting your session dir, you can adjust session.gc_probability, session.gc_divisor and session.gc_maxlifetime to make them disappear faster.