CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    16

    Store object in cookie?

    I am working on a simple little Ajax app that displays flash video. But I am running into limits with I think some sort of garbage collection with flash that is forcing me to have to refresh to clear it. I can’t have more than 14 instances of it loaded. After that it just won’t display it. So if for example I use even a real basic method like innerHTML to load a small flash app into a tag then clear it and reload a new one after 14 they stop working. The code is 100% JavaScript in a single object. Is there a way to store an object and its current properties in a cookie that can be easily unloaded on a refresh?

    Side note, has anyone run into a similar issues with flash instance limits before?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Store object in cookie?

    You could use cookies. Or you could use a frameset with one frame hidden and pass information between windows. Personally, there has to be a better solution. Can you post all relevant code?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured