I am wondering how user data is saved, does the ini file saves for each user his data, do i have to specify it somehow.
I would like to use the array object actually for storing individual user data. Is that possible?
Printable View
I am wondering how user data is saved, does the ini file saves for each user his data, do i have to specify it somehow.
I would like to use the array object actually for storing individual user data. Is that possible?
INI stores things in your applications' cookies, and cookies are usually stored on a per-user basis.
As far as I know Arrays can't be saved in Flash.
You can save them through the INI object, but remember you have limited storage. (unless the user sets the limit to unlimited, but they often never change that setting)
how much storage do they have if it is not set to unlimited?
You can save them through the INI object
How do u save the array through the ini object?
@life2searching: If it's not set to unlimited, it can be anything in between; it depends on what the user sets it to. The default, I don't know.
@Skyhunter: Well, say you have a 4 by 4 2D array. You could save it like this:
1,1=something
1,2=something
1,3=something
1,4=something
2,1=something
2,2=something
ect...
Just some loops and you're done :)
Ah i see.
I thought i could save the array object. But ok.