I have a php script embeded into a Joomla! article via sorcerer plugin.
The embedded php script contains/renders a simple html form. The submit action submits to the same script with an added parameter (?action='submit').
Script checks whether this parameter is set thusly:
if(isset($_GET['action')){
// do the sql insert
}else
{
//render the form
}
The submit action :
<input type='submit' value='Sumbit' action='http://wwww.mydomain.org.uk/page?
action=submit'>
Now, the issue is that each and every time the submit button is pressed, the logged in user is logged out from Joomla!, and the database session expires.
This started to happen after the host upgraded my Joomla! to be on a different server. Can anyone help me?