Quote:
|
Is it feasible to include session_start() multiple times in 1 page?
|
Usually, I;d say "no"...but in this case, I'd say it's OK (I don;t think the PHP police will be knocking on your door if you catch my drift)...
The first time on your parent page, use
PHP Code:
session_start();
Then on included pages, or pages that may or may not be included in the parent page, use
PHP Code:
@session_start();
to suppress the "headers already sent" warning messages I think you will probably get...but the code should still function....well I think it should, but I haven;t tested this theory