This is an old revision of the document!
int session_is_new()
This is supposed to return a non-zero value if the session has just been created (first time the page is loaded from a browser session). Not sure if this works, needs to be tested…
It would return 0 if not new