Page 1 of 1

Session_onEnd in PHP..?

Posted: Fri Aug 08, 2003 6:29 am
by mubashar
Are there any equivalent functions in PHP like Asp's Session_onStart and Session_onEnd functions?
If we want to set some value on Session end what function in PHP can help us.

Thanks,
Mubashar

If i understand

Posted: Fri Aug 08, 2003 7:27 am
by skateis2s
if I read you right....
PHP start session is....

<? session_start(); ?> - thats to start a session
<? session_destroy(); ?> - that would kill all sessions


to give a session value
<?
session_register("value");
?>