Link to home
Start Free TrialLog in
Avatar of andre72
andre72

asked on

How to tell Flash a session timeout

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
Avatar of TanLiHao
TanLiHao
Flag of Singapore image

Avatar of andre72
andre72

ASKER

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 ...
ASKER CERTIFIED SOLUTION
Avatar of TanLiHao
TanLiHao
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial