Page 1 of 1

multiple submissions

Posted: Tue Apr 06, 2010 12:24 am
by jayspears
Script URL: http://www.pcpareunion.com/guestbook/gbook.php
Version of script: 1.7
Hosting company: hostmonster
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

"you may only submit this guest book once per session"
"php guestbook"

Write your message below:

How can I disable the multiple submission protection, which calls up the error message:
"you may only submit this guest book once per session"
if you try to post two or more entries?
We're using our guestbook as sort of a message board and don't care if users post more than one message.
-OR-
How does the script define "session"? Log out & back in again?
Please advise
Thanks
Jay

Re: multiple submissions

Posted: Tue Apr 06, 2010 4:30 am
by Henrie
Hello Jay,
jayspears wrote:How can I disable the multiple submission protection, which calls up the error message:
"you may only submit this guest book once per session"
In settings.php file, set $settings['one_per_session']=0;
jayspears wrote:How does the script define "session"? Log out & back in again?
With a session a 'browser session' is meant. The session will end when the browser windows will be closed. When you open a new browser window after having previously closed all browser windows a new session will be started.

Greetings,
Henrie