Solved

How to tell Flash a session timeout

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

747 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

12 Experts available now in Live!

Get 1:1 Help Now