Welcome Guest, Not a member yet? Register   Sign In
Disadvantages of storing session data in MySQL?
#15

[eluser]Devyn[/eluser]
Thanks jedd!
I would like to explain a bit more of my game.
I'm writing a card game with multiplayer where 4 players can play like famous poker games.
I want to store the value of card that has been clicked and submitted by user. So I can calculate who wins.
Firstly, my problem is I don't know how to hide the value of the card so user cannot submit a value of the card which he doesn't have.
For example, I assigned the value of Club10 card to "C10". Following url is value of Player4's C10 card.
http://staging-colorfulcloud.aptanacloud...d16e7484f/C10
However, according to you and others, I got an idea that I can hash the value of "C10" so it'll be http://url/hash_session_id/hash_card
After that, I want to save that hash_card value in session table with related session_id.
If the user submit another hash_card, it'll be updated in session table again.
Am I flow make sense?


Messages In This Thread
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:18 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 01:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:32 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 02:35 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:00 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:03 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:14 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:20 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:25 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-17-2009, 03:58 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-18-2009, 12:31 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 07:06 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 09:12 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:24 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 10:51 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:25 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 11:45 AM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:01 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 12:46 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 03:08 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:04 PM
Disadvantages of storing session data in MySQL? - by El Forum - 09-19-2009, 04:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB