5 Replies Latest reply on Nov 1, 2007 5:07 PM by kglad

    Expiring a SharedObject

      I can not use cookies, per company policy.???

      That being said, I figured I could show animation 1 once, then set a SharedObject. Each time after that show animation 2.

      This seemed fine until it was decided that this should only happen per session. I have since found that SharedObjects do not expire. So my thought is this:

      1. Pass an ASP sessionId in as a FlashVar. Session.SessionID
      2. Use the sessionid as the value of the SharedObject.
      3. If the SessionID matches the same in the SharedObject show animation 2 otherwise show animation 1 and changed the SharedObject value.

      Does anyone see a problem with this approach?