Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-08-2005, 10:18 AM   #1
PsybeRich
Registered User
 
Join Date: Apr 2005
Posts: 1
Default Session Persistence with Flash RPC

Hi,

I am integrating a flash front end using remoting to make RPCs to a J2EE business delegate at the same time as having other pages created by JSP pages.

Without using cookies I am looking for a way to maintain session persistence. I want to do this at the server end, i.e. I want the http session ID. so that I can go from a swf to static html pages without losing session objects.

It is my understanding that when using the flash file however that at each instance it creates a new session, for example if someone followed a link out of the movie, and then navigated back it would create a new session.

At the moment I am getting around this using a login to identify a user and have a session ID stored in a DB. However I feel that this is an inelegant solution and does not allow me to have to separate flash RIA movies with html pages inbetween when I only want to display static content.

I know the flash gateway servlet creates a JSESSIONID but it only passes this forward to the movie on the client so that subsequent requests can use it. However with the RPC I do not appear to be able to get this on the server side or find anyway of being able to stay in the same session when a request for the swf is made as it creates a new session for the new movie!!!

Can anyone help me at all? I realise that it is possible with cookies but do not wish to use these... Thankyou to anyone who can take the time to answer this.
PsybeRich is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:57 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.