And I think that $_SESSION does not exist unless session is started =>

if (!is_array($_SESSION)) session_start();

might do the job as well.

elixon

Al wrote:
Is there a problem issuing multiple session_start()s for a given script?

I can't find anything in the manual that says one way or the other.

I have some scripts that call more than one functions include file and for convenience put a session_start() on each one.

This gives me a "Notice" error.

Of course I can simply use "@session_start()" to negate the Notice; but, I want to be certain this is good practice.

Al.........

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to