in reply to any function to identify session expires/alive

Simple. Poke it with a stick. Hard. If it says, "Hey, cut that out!" it's still alive.

See also How (Not) To Ask A Question.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re: any function to identify session expires/alive