How can I save information (game variables) onto a computer? (cookies?)

I have a "death match" game that I have hosted on freewebs.com (that is working perfectly). I want the game to store information on the computer that visits my site, including player experience and money so they can close out of their browser and then come back and have everything still there. How can I do this?

coopkev2 wrote:
Currently, I save a text file to my computer when it runs that contains the information I need. Is it possible to include that file inside the JAR and simply edit that?Not really. For one thing, editing the jar would require the same permissions as editing any other file. Secondly, it makes deployment really complicated when the contexts of jars are changed by the users. Third, the jar might get overwritten when the user downloads the page again later. If you're going to save the data in a file on the user's computer, it's easier just to make it a plain text or properties file (or XML if you really want to make it more complicated) in the user's home directory or a similar location (for example, if the user is using Windows, you could put it in home/Application Data/ or whatever it's called.
I suspect that cookies are easier still though, but I haven't tried it either.
In the past when I've had to do things like this, I found it easier to store the data on the web server using a CGI script, but I don't know if freewebs even allows that.

Similar Messages

  • How can i save itunes game apps to an external hard drive?

    Im trying to do a clean install of osx mountain lion since i noticed computer is starting to get slow but was wondering if theres a way to do that since im a complete noob and also on how to save itunes game apps data to an external drive since i dont want to loose them can someone please guide me on how to do this?

    Do a Time Machine backup to an external drive. It backs up everything.
    Instead of restoring from time machine backup, go into time machine and drag out the things you want to restore.
    Good luck

  • How can I capture (copy) a webpage onto my computer?

    I would like to be able to copy/save a webpage onto my computer... the "grab" feature only copies what appears on the screen, not the entire page.
    I tried a product called "webpage saver" but can't get it to work properly (you need to "drop" a weblink into a box, but the box doesn't seem to accept any links

    http://www.derailer.org/paparazzi/
    Paparazzi is a program that allows you to capture the whole page or certain parts if you like. It also gives a preview so you know what you are getting.
    The best part is, its free!

  • How can I copy my 3gs info onto work computer

    I just received my iphone 4 at work, how can i copy all my info from my 3gs to my new iphone 4? I also just installed itunes at work. Is there a way to take all my info from my 3gs and copy it into itunes at work and then take it and copy it onto my iphone 4?

    All that needs to be done from the same computer. The iPhone cannot be simultaneously "synced" to more than one PC for the same data types. If your home computer has the 3GS backup, then activate the iPhone 4 there and restore all the 3GS info onto it at that time. If you then want to sync the iPhone 4 at work, you will have to give up the sync at home and make the work PC the base.

  • How can i get my ipod library onto a computer

    I have an ipod.  I am tryign to get my library up loaded to a new computer and also to my I phone.  How can i do this?

    Hello jlfromcorona,
    Use the manual method of copying all the music from your iPod Classic, to your new Mac.  See this article for instructions.
    http://macs.about.com/od/backupsarchives/ss/ipodcopy.htm
    B-rock

  • How can I save Illustrator CC files onto my external hard drive - Free Agent Go Flex Drive? Nothing works, can't even drag files over. Is the drive not compatible?

    Nothing seems to work, not even dragging files over. Is the drive not compatible? Am working on a new Mac Book, its not a problem on my older IMAC?

    There are two scenarios in which GoFlex drives are supported for use with a Mac. When you connect a GoFlex drive to a Mac, you will be presented with a utility to configure the drive for use. First, if you want to use your GoFlex drive solely with a Mac, the utility will reformat the drive into the HFS+ format, which allows you to use the drive with Time Machine or the included Memeo Premium backup software for Mac. If you would like to be able to "shuttle" data back and forth between a Mac and a PC, a special driver needs to be installed onto the Mac that allows it to access a Windows-formatted drive (i.e. NTFS). Time Machine will not work in this case, nor will Memeo Premium software for Mac. However, if you want your GoFlex solution to also work with TimeMachine, the drive will need to be reformatted to HFS+ journaled.
    source: GoFlex Frequently Asked Questions

  • How can I print/ upload Text messages onto my computer to print?

    Ive been harassed by my ex-boyfriend and i need to print out the text messages hes been sending me for court, can someone explain to me how i can do this?

        I understand the need for printing out important messages lea17. Do you have the messages saved? If they are still stored on your handset, I recommend forwarding them to an e-mail address. This is the best option for printing.
    JonathanK_VZW
    VZWSupport
    Follow Us on Twitter@VZWSupport

  • How can you get the itunes app onto your computer so I'm able to get music off my ipod?, how can you get the itunes app onto your computer so I'm able to get music off my ipod?

    i got a new computer and im unable to get the itunes app on there to conect my ipod to it and get my music and pictures off of it. does anyone know how im able to download itunes on a laptop?

    Click Itunes at the top of this page and download it.
    The ipod is not a storage/backup device.  The sync is one way - computer to ipod.  The only exception is itunes purchases:  File>Devices>Transfer Purchases
    You should copy everything from your old computer or your backup copy of your old computer, to your new one.

  • Can i put Microsoft word onto the ipad, if so how can you save the documents, can i put Microsoft word onto the ipad, if so how can you save the documents

    can i put Microsoft word onto the ipad, if so how can you save the documents, can i put Microsoft word onto the ipad, if so how can you save the documents

    Welcome to Apple Support Communities
    If you have Office 365, you can install Office in your iPad > https://itunes.apple.com/us/app/suscriptores-office-mobile/id541164041?mt=8
    If you haven't got Office 365, there are other apps that work with Microsoft Word files, like Documents To Go > http://www.dataviz.com/dtg_home.html

  • How do I save information onto a disc

    How do I save information from my computer onto a cd?

    Select Mac Help from the Help menu and search for "burn" to get the help articles.

  • How can I save some pics from my Mac onto my Ipod touch?

    How can I save some pics from my Mac to my Ipod Touch ?

    Syncing photos with iTunes is explained here: http://support.apple.com/kb/HT4236
    You'll have to choose the photos you want to sync in the photo pane in iTunes with your phone connected, then apply sync.

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But once the app is removed from my iPod, its data will be erased too, so, for example months later, I want to put them back onto my iPod, I will lose all the apps data and games progress. So, I just want to know the way that people save their apps data.

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

  • How can I save a DVD I have to my desktop?

    How can I save a DVD that I have previously bought, recorded or burned from TV onto my MacBook Air?

    1) How can I simply drag photos from albums onto my desktop?
    select the photo and drag it to the desktop  --  or export it to the desktop (file menu ==> export)
    2)does anybody know how to change the email setting for "from"?  When I attempt to share a photo and email it to someone, I cant because I have no idea of the information in my "from" box.  Therefore I dont have the password to send it.  How can I change that setting?
    to change account information iPhoto preferences ==> accounts  --  or better yet IMHO just set the e-mial client to Apple Mail rather than the default iPhoto and send using mail
    In the lower right hand corner grab the corner of the window and drag it to the size you want
    LN
    3) how do I minimize my iphoto screen so I can see other pages on my desktop simultaneously?

  • I have a new computer. How can I save my music from my IPod to the new computer since it isn't in my Library. I don't want to sync and lose music.

    My old computer crashed and I have a new computer. How can I save my music from my IPod to the new computer since it isn't in my Library. I don't want to sync and lose music.

    Then you will need to search for a 3rd party program to transfer content
    Pasted from another thread
    https://discussions.apple.com/thread/2234756?start=0&tstart=0
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Other free programs are Pod Player, SharePod and Floola and iDump andiPodRobot.
    If you want to recover just the structure of playlists from the iPod (and not the actual song files themselves), there's iRepo for Windows. which I understand has this feature along with all the standard features for these programs.
    iPodRip also has the feature enabling you to reconstruct playlists.
    There is also CopyTrans. This does preserve ratings/playcounts etc if those are important to you but this program is not free. It also supports video transfer.
    More information is contained here.
    Copying content from your iPod to your computer - The Definitive Guide.

  • How can I save my current Firefox customization to install on a new Windows 7 installation

    This is not asking for a problem fix.
    How can I save my current Firefox 3.6 customization, toolbar set-up, plug-ins, add-ons, etc. to a file or files so I can install it, pre-customized, after I do a re-format and clean install of a new Windows 7 operating system?
    I am currently in Windows Vista.
    I'm just trying to make it so I don't have to re-customize everything I already have done by doing a fresh installation of Firefox.
    Or can I just save the existing Mozilla Firefox program folder and then drag and drop it into the new programs folder in Windows 7?
    Thanks,
    numetro

    A couple of links that can help with this, [[Backing up your information]] and [http://kb.mozillazine.org/Profile_backup Profile backup - MozillaZine Knowledge Base]. The second one includes a link to a free utility that can make this easier.
    Just saving the progams folder will not work, the user data is stored elsewhere.

Maybe you are looking for

  • Command_link does not work outside of form

    if command_link is outside of form, it is rendered without a warning notes, but does not work correctly.

  • Turning PDF Documents into Word Documents

    Can I use my Adobe Creative Suite 6 to turn PDF documents into Word Documents?

  • PO Approval workflow Acceptance Required issue

    When PO_headers_all.acceptance_required_flag = 'Y', expected behaviour of PO Approval workflow is to send Action Required email to supplier. But for some POs even PO_headers_all.acceptance_required_flag = 'Y', PO approval workflow is sending FYI emai

  • Playlists can't find musc already in iTunes Music folder

    I've seen this question is many forms but can't find the answer. Here goes: I rebuilt my Vista system and then restored my iTunes files and music. I also installed the latest iTunes version. Within iTunes I see all my songs, playlists, ratings, etc..

  • P-70 GPS issue

    I recently bought my P-70 smartphone at a shop in Kuantan Parade last month. Whenever I on my GPS and try to use waze or maps application, it wouldn't detect my current location and therefore fail to work. I open my qiblat apps it mentioned "no magne