# Help why is locally persistent remote shared object not created?

**URL:** <https://forum.kirupa.com/t/help-why-is-locally-persistent-remote-shared-object-not-created/317907>\
**Category:** flash\
**Created:** [January 5, 2011, 7:58pm UTC](https://forum.kirupa.com/t/help-why-is-locally-persistent-remote-shared-object-not-created/317907 "2011-01-05T19:58:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psvdwal](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@psvdwal](https://forum.kirupa.com/u/psvdwal)\
**Post date:** [January 5, 2011, 7:58pm UTC](https://forum.kirupa.com/t/help-why-is-locally-persistent-remote-shared-object-not-created/317907/1 "2011-01-05T19:58:42Z")

</div>

If I run the following script, a client sided RSO is created on the server.

stop();  
var nc:NetConnection = new NetConnection();  
NetConnection.defaultObjectEncoding = ObjectEncoding.AMF3;  
nc.connect(“rtmp://www.site.com/SOSample/”);  
nc.addEventListener(NetStatusEvent.NET\_STATUS, onNetStat);  
//Als de verbinding geslaagd is: verbinding maken met RemoteSharedObject  
//\>\>\> LET OP: verbinding is alleen geldig binnen de curly braces van de function ‘onNetStatus’\<\<\<\<\<\<\<\<\<\<\<\<\<  
function onNetStat(e:NetStatusEvent):void  
{  
if (e.info.code == “NetConnection.Connect.Success”)  
{  
var SO\_Client:SharedObject = SharedObject.getRemote(“testRSOLP”, nc.uri, true);  
SO\_Client.connect(nc);  
SO\_Client.addEventListener(SyncEvent.SYNC, onSyncGluc);  
}  
if (e.info.code == “NetConnection.Connect.Failed”)  
{  
trace(“FAILED”);  
}  
function onSyncGluc(se:SyncEvent):void  
{  
if (se.changeList.code == “clear”)  
{  
trace(“RSO to be created”);  
}  
else  
{//if(se.changeList.code == “change”)  
SO\_Client.setProperty(“Glucose”, “OK”);  
SO\_Client.setDirty(“Glucose”);  
}  
}  
}

HOWEVER, if I change the persistence setting from ,true to ,"/" in order to get a locally and remotely persistent RSO, no shared object is created at all…

Does anyone know what could be wrong?
