Skip to main content
Inspiring
November 12, 2006
Question

multiple shared objects

  • November 12, 2006
  • 2 replies
  • 369 views
lets say i have two remote shared objects on the page

SO = SharedObject.getRemote("data0", client_nc.uri, false);
SO = SharedObject.getRemote("data1", client_nc.uri, false);

I want to use seperate objects because i need seperate RSOs to hold data for performance reasons.

How do i tell objects or varibles within the script which RSO to use?
    This topic has been closed for replies.

    2 replies

    Inspiring
    November 12, 2006
    oh yeah.....i just gotta change the variable name .....duh at me ...thanks for your time.
    November 12, 2006
    Well... you're going to need to use separate variable names for the RSO's... no getting around that one.

    I suppose the best approach depends on the condition that determines which SO to use. With the structure of your app, is that determination made before or after you connect up to the SO's?