actionscript 3 - Unique SharedObjects for Unique Accounts - AS3 -


so, i'm writing web application in actionscript 3.0 uses local shared objects sort of registration system.i'm having problem, know what's causing don't know how fix if makes sense.. or don't know start fix it,

like said, use shared objects manage registration/login system (so.data.username, so.data.password) sort of thing.once login create more data, etc. unique profiles sort of thing

so, problem want fix: when create new account , login, same data previous account there, can't login old account because so.data.username has been replaced.you might think i'm idiot, know.i know changes username on , over.. want know route should take can create multiple accounts under shared object , each account have own unique data (profiles, etc)

thanks!

if want create multiple accounts, store json against 1 of data fields. might end looking like:

so.data.users = '[     {         "username": "marty",         "password": "4ec503be252d765ea37621a629afdaa6"     },     {         "username": "bob",         "password": "248e844336797ec98478f85e7626de4a"     } ]'; 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -