I created the Plugin mod_confman which to display a form to the public and users can enter data without being logged in. Most of the time everything works fine, but sometimes users get the error "sesskey not accepted" and everything they entered in the form is lost.
I already placed a call to "sesskey()" from sessionlib.php to ensure that a session key is created, but this did not solve the problem.
I suspect that users may be displayed the form without being logged in and logged in automatically as guest user once they send the form. This may lead to a change in the sesskey.
Is there a way for me to login users as guest user automatically or to get around this issue?