- Home /
Saving Huge strings over the web
Hello everyone, i would like to ask what would be the best way to send huge strings over the web(from Web Player to database). I've already made a function that save these strings to .txt but i just found out that the WebPlayer cannot use the System.IO.
The player's data will look something like this:
9 0 29 2 0 0 1 0
8 0 32 1 3 0 1 0
10 0 27 1 0 2 1 0
but it will be over 2000 lines of those(average). I won't be always changing those strings, but from time to time, when Player logs in and out.
Im thinking of saving them into a single string(is that possible?) but im afraid that it may choke the player's connection or something. I need some advice please, Thank you :)
Answer by Albert · Nov 26, 2010 at 09:24 AM
I used a database(free web service) to save the strings as a LongText, i've also used the PHP/mySQL tutorial in the UnifyCommunity to send the strings. everything works good so far. :)
Answer by hypnoslave · Nov 06, 2010 at 01:55 PM
god, I'm saving bigger than that using dimerocker.
you might want to look into how they're doing it...
Answer by denewbie · Nov 06, 2010 at 03:34 PM
If your File Size is over 2mb i would suggest sending over in packets. You might want to deploy a web-service to handle any any injection into your database.
when i saved it into a txt file, it produce around 40kb of data, do you know how much character can a table string can handle?
Your answer
Follow this Question
Related Questions
How to connect to oracle databases for webplayers 0 Answers
Where will those XML files be stored if the platform of this game is Web Player...? 1 Answer
Game External Files on the Unity Web Player? 1 Answer
Creating a card game. Best ways to interpret the various cards? 1 Answer
Web Player build leaderboard returns blank data when integrated the game in Facebook page. 0 Answers