Flex :: Blazeds - Keeping Alive HTTP Session For Long

Oct 30, 2009

Any standard way to keep alive the http session as long user has open the flex app in the browser? I played around with the polling mechanism of blazeds. But it had no affect on the http session.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Keeping The Session Alive In Flash Using Keys

Mar 11, 2010

working with a AS3 flash movie button linking to an html form

I have a client that wants to keep the browser session going when it comes to a form being filled out and to pre-fill this data where necessary so basically for Flash to check the user URL and see if there are session keys attached to the URL..

I need Flash to look at the incoming URL which may already have keys attached such as 'uVB2GC1F/xGG3QX1F' and use them by adding them to a button link. These keys will be different every time for each session.

View 10 Replies

Flex :: Session Sharing Between BlazeDS Servlets And Http Servlets?

Apr 30, 2011

I'm developing a Flex application that employs BlazeDS with Tomcat on the backend. The Flex client authenticates through the ChannelSet which in turn creates an authenticated session on Tomcat. From then on, all of the client calls are authenticated transparently. However, I have a regular HttpServlet for uploading files, which does not get the session information from the BlazeDS servlets.

Is there a way that I can get the Principal object in the HttpServlet? I know that I can get the session ID from the BlazeDS servlet, pass it to the client, and then send that along with the upload request.

View 1 Replies

Flex :: Blazeds - Understand If The Session Is Timed Out?

Jul 25, 2011

my aim is to catch when the session is invalidated and send message to all destination that the FlexClient subscribed that the client wiht id .... has disconnected. I implemented a service which listens for

[Code]...

Problem is that i want to catch messageClientDestroyed and send to that destination a message that the user has disconnected.But blazeds destroys messageClient when you add a subtopic.So how to understand that if session is invalidated and all messageClient are being destroyed or the user just enter another place and add a subtopic to his consumer. I'am also open for other solutions to implement that mechanism.When user disconnected by session timeout or closed the site browser etc. i wanna catch it and send a message to subscribed destinations.

View 1 Replies

Java :: Flex Session Parameters In Remote Object BlazeDS?

Jun 23, 2011

I have my flex object embedded to JSP page.The JSP page retrieves user information like user name and group from portal profile object and stores in http session parameters. The flex Object makes a remote call to Employee.class to perform persona based operation.

I retrieved the session id in JSP and also in the Employee.class both are same. But I am not able to retrieve the username stored in the http session from FlexSession. I read in the internet that the FelxSession will hold all httpSession information as well. It's always coming as null. Correct me if I am wrong.

[Code]...

View 1 Replies

Flex - Session Handling - Flex BlazeDS Java?

Apr 16, 2011

Am facing issue with session timeout. Say for instance, the user logs into the application and he waits for 30 mins (session timeout time) and then tries to get a service through remote object.Ideally speaking, since the session has timeout the user shouldn't be able to hit the remote object, but this is happening the other way round.

[Code]...

View 1 Replies

Flash :: (as3) URLloader Keeping Connection Alive?

Feb 1, 2010

I have a little problem with a simple URLLoader,it simply just loads the data from an url, and processes that data, nothing complicated. But, when ever i run it, it leaves the connection open. At the bottom of the browser it says:

Transfering Data From www....

The data is read sucessfully, so it should close the connection? but doesnt seem to want to do it. Is there anyway to close all open connections, or somehow remove such message?

View 1 Replies

Actionscript :: Flex Long Polling (server Push) Without BlazeDS?

Oct 19, 2009

Apart from using BlazeDS, are there any pre-existing libraries that implement long polling (or server push) in Flex?I've read I like to implement Flex to Server comet / long polling for games, but he's only asking if it's possible to implement... Not if implementations exist.

View 2 Replies

Java :: Support Both HTTP And HTTPS Channels In Flex/BlazeDS?

Jun 17, 2009

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following:

<default-channels>
<channel ref="my-secure-amf">
<serialization>[code]..........

I'm running with Tomcat 5.5.17 and Java 5.The BlazeDS docs say this is the best practice. Is there a better way? With this config, there seems to be 2-3 retries associated with each channel defined in the default-channels element so it always takes ~20s before the my-amf channel connects via a http request. Is there a way to override the 2-3 retries to say, 1 retry for each channel?

View 4 Replies

Flex :: Call Method Which Has An Only "long" Type Argument For Using BlazeDS?

Mar 9, 2012

I can't call the method which has an only "long" type argument for using Adobe BlazeDS?[code]...

View 1 Replies

ActionScript :: Java - Flex ArrayCollection Of Number Objects To Java Collection<Long> Using BlazeDS

Mar 24, 2010

I am using Flex 3 and make a call through a RemoteObject to a Java 1.6 method and exposed with BlazeDS and Spring 2.5.5 Integration over a SecureAMFChannel. The ActionScript is as follows (this code is an example of the real thing which is on a separate dev network);

[Code]...

View 2 Replies

Media Server :: 4.5 Http Broadcast Delay Is Too Long

Apr 12, 2012

HTTP broadcast delay is too long, I do a test in the LAN, send video using FME 3.2 the flow FMS4.5 server, use the sample folder under the videoplayer to play live video streams, using HTTP delay of 10 seconds or more,(RMTP play live rarely delay), who can tell me, how can I do this problem can solve the delay!

View 1 Replies

Flex :: Playing A Large/long H264 File With NetStream Takes A LONG Time To Begin Playback?

Aug 1, 2010

I'm trying to play a 10 minute long video (h264/mp4) which is 39MB in size, after I call stream.play(fileURL) it doesn't start playback until its loaded around 12-16MB of the file (many many seconds later), I finally get onMetaData at this point too. Why doesn't it begin playback right away, or at least w/in a couple seconds? What can cause this bloated lead in time?

View 2 Replies

Actionscript 3 :: Create A Pdf In Flex With Pdf Alive For Flex In 300dpi

Mar 1, 2012

Im trying to create a pdf in high resolution in 300dpi with pdf alive for flex, i used this code: var image:ImageSnapshot = ImageSnapshot.captureImage(page[i], 300, new JPEGEncoder()); but i create the pages with a loop for(), and this makes that my web aplication crashed, beacause it spend a lot of time to create the PDF. Exist some way to create this process in the background but dont want the .swf to freeze while the number crunching happens, or another way to create pdf in high resolution(300dpi) with flex.

View 1 Replies

Flex :: Merge Pdfs(Alive PDF) In Flex3?

Apr 12, 2011

My flex application generates individual pdf documents based on individual selection criterion,but i need to merge those generated pdfs or is it possible to store individual pdfs temporarily then merge those into single pdf?

View 2 Replies

Flex :: Directly Print From Alive Pdf Instead Of Generating It?

Jun 9, 2011

Is there a way to directly print using alive pdf (by passing the step where it saves the datagrid in pdf). Right now I am using Alive Pdf for generating PDF from datagrid and its doing a great job. Since flex printing by itself sucks I was wondering if I could directly print using Alive PDF?

View 1 Replies

Flex :: What Keeps Locally Scoped Objects Alive When Listeners Are Registered

Jul 5, 2011

I see this type of apparent magic in all sorts of AS3 code, but here is a reduced example:

[Code]...

As indicated in the code comment, the loader variable should fall out of scope after the URLLoaderExample constructor. However... it still seems to be kept alive (not garbage collected) somewhere since the onComplete listener/handler is able to receive it cleanly. Where is the magic/hidden/global reference to loader that keeps it alive so that it can complete it's load operation, and then be handed to the onComplete listener/callback? Can this reference be seen somewhere?

To help with context... as a similar example, I know that the loader instance will have the onComplete listener registered. I also know I need to be careful to use removeEventListener at all times (?) to avoid potential memory leaks resulting from stranded listeners. What concerns me is that I don't understand where the magic loader reference is and whether (or when) I need to clean that up.

View 3 Replies

ActionScript 2.0 :: LoadMovieNum - Users Of The Player To See How Long They Have Listen Or How Long Time Back Of The Song

Feb 5, 2004

I'am making a advanced mp3 player arund this tutorial: [URL] and i want the users of the player to see how long they have listen or how long time back of the song. i have the AS i what to use but i cant connect them. becuase the tutorial i used does not make a sound objekt (MUSIC)

[COde]...

View 1 Replies

Php :: Holding The Session In Flex?

Jun 23, 2009

I am getting the session generated in Flex Application in a hidden text field, but when i refresh the page it gets back me to login page...

How can i hold the session of the page until the browser is not closed...

I am getting the session value from PHP.

View 2 Replies

Php :: Passing PHP Session Id To FLEX App?

Dec 6, 2010

I'm developing a FLEX application which has a Java Server as back-end.

What I need:

-The FLEX app can only be used if the user it's logged;
-The FLEX app also needs to know which user it's logged, because it will shows especific content about him;
-I need to perform authentication on every webservice call;

However, the webpages are being developed using PHP, as well the login system.

After some digging, I've discovered that I can use the PHP session ID for authenticate every webservice calls, by using the php-java-bridge so both PHP and Java can share the same session.

My problem it's that I don't know how the FLEX app can get the current PHP session ID. I know that it's possible to pass it by flashvars, but I think it's not secure.

View 2 Replies

Php :: Login Using Flex And PHP But How To Handle Session

Jan 7, 2010

I have a Flex login page that uses HTTPService to communicate with server side php script. Once user's credential is verified, a session will be created and the login page will redirect to the main Flex page with that session info. I'm not sure how to implement the session logic.

View 2 Replies

Flex :: HttpSession Session ID Different To FlexSession ID

Nov 17, 2010

I have a Flex application which is served via a JSP page. In this page I output the session ID using HttpSession when the page is loaded: System.out.println("Session ID: " + session.getId()); In a very simple remote object hosted in BlazeDS (called from the flex application using an AMF Channel and standard RemoteObject functionality) I also output the session ID but this time using FlexSession (which as I understand is supposed to wrap around HttpSession).

System.out.println("FlexSession ID: " + FlexContext.getFlexSession().getId()); I would expect both IDs to be the same but this is not the case. The session IDs differ which is causing problems as there is data stored in the HttpSession which I need to be able to access from my remote objects within BlazeDS. I've exhausted the reading material on BlazeDS and FlexClient/FlexSession/FlexContext but can't see why the FlexSession is not being linked to the HttpSession.

View 3 Replies

Flex :: Connecting Flex Application To Tomcat + Spring 3.0 Framework With BlazeDS?

Apr 9, 2011

I'm developing a web application (client in Flash Builder 4, server in Eclipse 3.6 + Tomcat 7 + Spring 3 Framework). How do I make the Flex client automatically deploy in the Tomcat server and use BlazeDS messaging and remoting more seamlessly?

View 14 Replies

Flex :: Material Use To Learn Flex/Air, And With ColdFusion + BlazeDS/LCDS?

Apr 15, 2012

What material did you use to learn Flex/Air itself, and with ColdFusion + BlazeDS/LCDS?

View 7 Replies

Php :: Flex - Unable To Detect Session Value In Firefox

May 20, 2011

In IE, the session work, but in Firefox, it always return empty value.

I have set $_SESSION['apple']='1' in index.php

When executing a Flex 4/flash app that will allow user to browse an image file using filereference for upload to the server (this app is image uploader), the file will then pass to second.php to validate whether it is an image.

In the second.php itself, I have a function that need to retrieve $_SESSION['apple'] value which was set in index.php, it always return empty string in Firefox and Chrome but work on IE9.

Has anyone came across the same problem with $_SESSION on Firefox and Chrome?

How do I make sure the second.php can retrieve $_SESSION?

View 4 Replies

Flex :: Pass Session Info From Python To It?

Jun 20, 2011

I have a simple site made with python (django). User registers, inputs some basic info and it stores it to mysql. User then is able to log in with his username/password which he created...

Now i want to add a flex application which will run once the user is logged in, but i dont want the user to have to log in twice (once into django, once into flex app). For the sake of learning i just want the flex app to also load some information from the mysql database, like the users firstname or something.

how would i go about passing session information into the flex app?

View 1 Replies

Asp.net - C# WebServices And Flex RPC Session Doesn't Work?

Oct 10, 2011

look im facing a problem. I have .NET + Flex application. I have a component in Flex who uploads a .XLS file to the server. This component has a Progress Barand it updates its bar and the Label with the

[Code]...

View 1 Replies

Flex - Run Flex/BlazeDS Without Dropping A JSessionId Cookie?

Jul 20, 2011

The question says it. Does anybody know the answer to this? We're running into problems when 3rd-party cookies are disabled.

View 1 Replies

Flex :: Session Management With Java Servlet Using Httpservice

Jun 14, 2010

I am new to Flex. I am just wondering how to manage session and cookies for logging in, logging off in Flex? I am using Flex HttpService and Java servlet.

View 1 Replies

Java :: Login Session Lost After Flex Chart Is Displayed From Jsp?

Jun 4, 2010

I have a java web application. When I log in to that application and navigate to a jsp which has flex chart embeded into it, the chart displayes just fine. I am using blaze ds remoting object mechanism. But when I want to navigate to a different page, it logs me out of application since the login session is lost.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved