I’m writing a custom plugin that requires some form validate (only PHP, not JS), so I’m need to use
$_SESSIONto return the form values in the event of an error.
Can anybody tell me where I need to add
session_start();(I’m guessing an action needs to be called, but I don’t know which one), as everywhere I have tried has failed.
- The topic ‘Use $_SESSION when writing a plugin’ is closed to new replies.