View Full Version : Storing variables serverside?

06-12-2010, 03:04 AM
Hey guys,
I just recently started getting into JavaScript (2 days ago) after seeing how limited HTML and CSS by itself is, and I created a game where you have a certain amount of time to click as much as you can.

The game works fine but the problem is with my leaderboard. I want to be able to store the high scores and names so that everybody see's the same thing. I know cookies save data but is that only clientside? All I need to do is save 6 variables so that the leaderboard is always updated. Any help would be appreciated. Thanks.

06-12-2010, 04:19 AM
javascript is stricktly user-side. you need a server side language, i've seen ajax used a-lot with javascript.

06-12-2010, 12:09 PM
So, AJAX will be able to do this? I thought AJAX was only for retrieving information?