|
With Several XForms invoking web services, we have a need to pass
some state data between XForms. I have looked at several approaches
but I am wondering how you guys have dealt with this - or am I
heading into forbidden territory.
1. Sessions: I looked into invoking a web service that
establishes a session. Beside creating un-necessary Server side
overhead, I still had the problem I started with - HOW to pass the
Session ID from one Xform to the next.
2. Server Side Instance Data: I looked into creating a server
side file with the needed data. Given the fact that a user can
login multiple times from the same machine, plus start several
browser windows invoking the same XForm. I was right back into
session management.
3. Cookies: I have thought about them - then I worry about users
who run with cookies disabled .
4. JavaScript I have experimented with attaching user-defined-
properties to the window (global) object. This is a kluge and goes
against my intent of staying away from javaScript as much as possible.
If you have some thoughts/idea and best of all some sample code to
look at. I would really appreciate it.
Thanks in advance.
Peter
|