I have a third party script and was wondering how I can check with PHP if session_start() has been declared before doing something?
if(!isset($_SESSION)) {
session_start();
}
The check will allow you to keep your current session active even if it's a loop back submission application where you plan to reuse the form if data is typed incorrectly or have additional checks and balances within your program before proceeding to the next program.