Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6719179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:03:43+00:00 2026-05-26T09:03:43+00:00

In my flex app, where should i store session data? My business code is

  • 0

In my flex app, where should i store session data?

My business code is exposed in a SOA way and the communication between client code and the backend takes place at very precise moments yet i have to keep variables in the flex client so the user may resume in case of failure. I’d like this flow of events to be feasible.

  1. user1 logins and makes some actions

  2. failure due to the unexpected events (logout not in due time, exception in client code, closed browser, communications breakdown, etc)

  3. user2 logins, makes some actions and commits successfully

  4. user1 logins again and resumes where he left in point 2 since the client app loaded the sharedObject for user1

Is this feasible with shraredObjects?, what’s common practice to deal with this?, also i cannot impose the user to tweak her/his browser to accept sharedObjects.

Thanks in advance

P.S: I don’t want to use fine-grained communication between client and business code to control the current state of the client, business code is SOA style, and also the backing-bean used in BlazeDS is heavily loaded.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T09:03:43+00:00Added an answer on May 26, 2026 at 9:03 am

    As soon as SharedObject is associative array, you can add current user name to key when you store data:

    sharedObject.data[user_name + "x"] = x;
    

    Or even create individual sharedObject file for each user:

    sharedObject = SharedObject.getLocal(user_name);
    sharedObject.data["x"] = x;
    

    But I’d better store current state on server. This can be done on logout or on timer event to prevent heavy communication.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a flex app that takes data from a back end database then
I'm posting data from a Flex app to a php script. GET works fine
I'm using Pyamf as my backend for my Flex app and I'm seeing some
There must be an easy way to do this. I build a Flex app
We have a Rails 3 app using session-based authentication (modified acts_as_authenticated), and a Flex
I have a Flex-based client app which talks to the back-end through BlazeDS. In
I've been using PyAMF to write a backend for a flex app that will
I have a Flex App that allows you to dynamically build an animation. It
In a FLEX app, I am trying to re-dispatch a custom event. I.e. component1
I have a flex app which allows user to create some content. this content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.