You can use getSize to figure how big your SO is, but that doesn't tell you 
how much your allowed to have.  For that, you gotta ask the user for more 
and do:

System.showSettings(1);

And then, check your onStatus to see if your flush actually worked. It's all 
faith in the user, baby, faith in the user....

----- Original Message ----- 
From: "Scott Barnes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 17, 2005 10:43 PM
Subject: Re: [flexcoders] Deploying Flex Applications



>From memory you can also get the total size allocated to SO can't you?
i'm sure i remember that being possible (sorry don't have flash IDE
open on this pc atm)


On Thu, 17 Mar 2005 22:31:46 -0500, JesterXL <[EMAIL PROTECTED]> 
wrote:
>
> I can answer the cookie question.
>
> Flex has it's own version of cookies, called "Flex cookies".  They are
> serialized objects stored in a domain/sub-domain security context.  So, if
> you need to save local client data below 100k (I think that's the default
> per domain, not sub-domain, and it can be increased by asking the user's
> permission), you do so quite easily.
>
> var so:SharedObject = SharedObject.getLocal("test");
> so.data.test = "test";
> so.flush();
>
> To read:
>
> var so:SharedObject = SharedObject.getLocal("test");
> trace("test is: " + so.data.test);
>
>
> ----- Original Message -----
> From: "viraf_bankwalla" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 17, 2005 10:25 PM
> Subject: [flexcoders] Deploying Flex Applications
>
> Hi,
>
> I am experimenting with Flex for an application and wanted to
> inquire about deployment options.  Has anyone deployed flex in real-
> world application, high volume web application, and would they be
> willing to share their experiences.
>
> Here are some questions:
>
> + Is there a way to cache the flex application on the client.
> + Is there a way to have the cached client application refreshed
> (say a new version is released)
> + I would like my Flex application served from another server farm
> than the application.  Is this possible ?  How would the web
> application initiate the flex application and what are the
> constraints on the web app providing HTTP Services to the flex
> application.
> + How are cookies etc manged by Flex / Flash
> + Has someone deployed an application through a load balancer (such
> as F5's BigIP or Cisco)?
>
> Thanks.
>
> Yahoo! Groups Links
>
> Yahoo! Groups Links
>
>
>
>
>


-- 
Regards,
Scott Barnes
http://www.mossyblog.com
http://www.flexcoder.com (Coming Soon)



Yahoo! Groups Links








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to