Solved

How to tell Flash a session timeout

Posted on 2009-07-15
3
365 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

726 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