I'd like to be able to save the current game (of chess) in my applet but I'm not sure on the easiest way. I could communicate to a database but this seems like overkill. I could call a local web page that perhaps stores the game but again this looks quite difficult.
Is there an easy way of writing a string (about 300 char length) to the browser and letting it return it when that user next goes to the page. Any ideas?
Mich Robinson wrote:I'd like to be able to save the current game (of chess) in my applet but I'm not sure on the easiest way. ..
Is there an easy way of writing a string (about 300 char length) to the browser and letting it return it when that user next goes to the page. Any ideas?
A trusted applet can store the settings on the local file system.
Andrew Thompson
http://pscode.org/
Mich Robinson
Ranch Hand
Joined: Jun 28, 2009
Posts: 176
posted
0
Are these techniques common?
ie would most browsers support them?
What happens if they're not supported?
PS I don't have any control over user's browsers.
Andrew Thompson
Ranch Hand
Joined: Aug 05, 2010
Posts: 59
posted
0
Mich Robinson wrote:Are these techniques common?
ie would most browsers support them?
What happens if they're not supported? ..
The answer to each question is 'it depends on the technique you are referring to'. I am not about to write a treaties covering all possibilities. Be more specific and put some research in, before I'll offer any more.
Mich Robinson wrote:..PS I don't have any control over user's browsers.
And that is a good thing. If web/server side developers start thinking they have any right or power to control the user or their browser, things go down hill rapidly.