andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


back button => send one more email

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Battleships By Email (BBE)
View previous topic :: View next topic  
Author Message
V@no
Light Poster


Joined: 10 Apr 2003
Posts: 30

PostPosted: Fri Apr 11, 2003 6:51 am    Post subject: back button => send one more email Reply with quote

Hi!
this game is awsome!
but, is there a way to prevent double sent?
when u "fire" ones, it shows u that it has been send, then, u can just click back button in the browser and "fire" one more time. Yes, I know the apponent will receive two emails with different "shots", but that could be anoin and confusing, because he'll use the one that didnt hit his ships...
Back to top
View user's profile Send private message Visit poster's website
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Fri Apr 11, 2003 7:15 am    Post subject: Reply with quote

Glad you like it! You could look at it as a 'feature' if you happen to be the one getting all the emails. Wink

Seriously, though, you could fix this by adding a cookie to the browser. Set two things: that the user has gone and the time. Then just don't allow them to send any more shots within a certain time (like an hour?) That might help. Then when the user recieves their email and clicks on the link, reset the cookie (else they wont be able to play their return shot.)

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
V@no
Light Poster


Joined: 10 Apr 2003
Posts: 30

PostPosted: Fri Apr 11, 2003 6:15 pm    Post subject: Reply with quote

good idea! will do that. thx.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> Battleships By Email (BBE) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group