Solved

How to tell Flash a session timeout

Posted on 2009-07-15
3
360 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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now