what is SharedObject(credentials)?
SharedObject is a class identifier and that class has static methods (like getLocal).
Sorry for the delay...
Forget this post.
I posted the wrong script (a tryout one) and since then, I found my mistake and everything is okay now.
Is there a way to delete this post?
there is, but there's no reason to delete it. someone else may benefit from checking it.