Ask a Question related to ASP Database, Design and Development.
-
Terry Murray #1
Need some direction
Hi everyone:
I am in the midst of creating an application that allows participants of
online games to register for and pay for games that they select. I have
decided to go about this by using a database instead of session variables to
maintain state. (The reason being not all gamers will have cookies enabled
as well I am not all that familiar with them as of yet). I just realized
that I do not know how to handle the situation that might arise if a
participant leaves the application without actually paying for the games
that they selected. If that situation was to arise what should happen is
that the games that they selected are "freed up". By freed up I mean that
the selection of those games does not affect the count of how many players
have actually registered (and paid) for their games.
Another situation that I am not sure how to handle is when the processing
leaves the site and hits PayPal (we have decided to go them to handle credit
card transactions).
Right now I have a table called gameRegistrations. It has three fields:
1) gameRegId - an autonumber , the primary key used to identify the
particular registration
2) playerId - a number that uniquely identifies the player who is
registering for a game
3) gameId - a number that identifies the game that is being registered for
I was hoping to use this table both for the cart (used to store a player's
selections, can be deleted from if player changes his mind about selection)
and to store the actual registrations that way it can be queried to see if
the maximum number of entrants for a particular game has been reached.
It seems to me to that I may need another field to link together the games
that are being registered for. I have to create a url that most likely will
contain the playerid , cost of game(s) being registered and a value that can
uniquely identify this proceess (the leaving of my site and subsequent hit
at PayPal).
If someone can provide me with some direction as to handle these situations
I would greatly appreciate it. I do not think that I am too far off now.
Thanks in advance
Terry
Terry Murray Guest
-
A little direction
hello, I'm brand new to flashComm. Ive being been looking for some simple starter off tutorials but all i've found so far are a bit over my head(... -
Need Direction
Just wanted some direction in where to start researching. I have an access database and would like to create a webpage that can accept data and as... -
Direction of Models
Hi Here it goes Know how you can use the PointAt() function to have the front of the model point at a 3D point in space... well what If I want to... -
Tutorial Direction
I'm trying to make a vertical (birds eye view) scrolling shoot'em up spaceship game (that was a mouth full!) Does anyone know any tutorials or... -
php and director. In which direction is it possible ?
hello, I am making a project, in which I want to speak from a projector to php(Can I speak directly to a php-funktion?). How should I do that ? ...



Reply With Quote

