Forum Moderators: coopster

Message Too Old, No Replies

how to use session regenerate id effectively?

         

PHPycho

4:38 am on Sep 14, 2007 (gmt 0)

10+ Year Member



hello forums!
I would like to know how to use session_regenerate_id() effectively..
i tried it as:
[php]session_start();
if(!empty($_SESSION)){
session_regenerate_id(true);
}[/php]
i dont whether it is correct or else .
Hope to have same comments on it.
Thanks in advance

eelixduppy

5:07 am on Sep 14, 2007 (gmt 0)



You can look at the manual for some examples and information if you want: [us2.php.net...]

I'm not sure what you are trying to do. Can you please elaborate and explain what isn't working correctly.