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.