multiple submissions

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
jayspears
Posts: 1
Joined: Tue Apr 06, 2010 12:07 am

multiple submissions

Post 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
Jay Spears
pcpareunion.com
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: multiple submissions

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply