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

Thread: Store object in cookie?

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
    PeejAvery's Avatar
    PeejAvery is offline Super Moderator Power Poster
    Join Date
    May 2002
    Posts
    10,879

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center