views:

9

answers:

0

I can't help but feel I'm missing some simple, critical piece of information.

Is there some way to store application level (session) data to survive across page loads?

I'm building a stand alone application that has multiple web pages, every time I load a new page with a normal link -

i.e. <a href="newpage.html">Next Step</a>

The ENTIRE runtime environment gets reset when the user clicks that link. I tried using the localSystemOBject in flash, but that treats each page as part of a separate domain, meaning every page gets its own local store, and again, no data is shared. Is there a way to tell AIR that they are part of the same domain?

Basically in a normal web-app this is handled on the server side (php) but I don't have a server or php, and I really don't want to completely restructure this thing into one monster web page. I just want to replace the existing Ajax calls with local reads and writes from a sqlite database -- however, every time the user moves to a new page (for the next step in the process) ALL the session data is LOST.

Help? Ideas? Suggestions? Do I have to write my own session manager? I can't believe I'm the first person to run into this. I think I'm just forming the question badly for google / stackoverflow search. (I hope)

related questions