Solved

How to tell Flash a session timeout

Posted on 2009-07-15
3
364 Views
Last Modified: 2012-05-07
Hi,

I'm developing a Flash application which use an web hendler to get/set data fomr/to a SQL server.
With the first call there'll a session be created to authorize the user for access.

Now I like to tell the Flash app when the session has a timeout.
For sure whould be one way to tell it to Flash next time the handler will be called by it.

A much better way would be to let something tell it to Flash when it ends without that Flash has to do a call but I've no idea how to do something like this.

Is there any way to push this from server site or maybe in javascript?

Thanks,

Andre
0
Comment
Question by:andre72
  • 2
3 Comments
 
LVL 14

Expert Comment

by:TanLiHao
ID: 24858324
0
 

Author Comment

by:andre72
ID: 24864428
You're right that should be a working way to tell Flash that the session has expired. But how to recognize it at the other side?
As I wrote there's just a handler and this is not wirking the whole time.
So there's need something like a service that will be started when the session id is created and run until the session dispose and give a signal to Flash.
I've no idea how to do something like this ...
0
 
LVL 14

Accepted Solution

by:
TanLiHao earned 500 total points
ID: 24867577
The document explains clearly how to call Flash.

When the session has expired, make javascript call Flash.

Read the example in the documentation I show you.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question