Skip to search.
formsPlayer · formsPlayer Group

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

  Messages Help
Advanced
Passing State Data between XForms   Message List  
Reply Message #2203 of 2980 |


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







Thu Mar 31, 2005 10:34 pm

pkisuule
Offline Offline
Send Email Send Email

Message #2203 of 2980 |
Expand Messages Author Sort by Date

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...
pkisuule Offline Send Email Mar 31, 2005
10:35 pm

Hi Peter, ... Have you looked at the 'cookies:' feature that was added in version 1.3? [1] This allows you to submit to and from a known location on a per...
Mark Birbeck
mark_birbeck Offline Send Email
Apr 4, 2005
12:00 pm

Peter, Just a quick clarification on what Mark has written - the protocol to which he refers should actually be 'cookie:' [without the 's']. Regards, Phil. ...
Phil Booth
booth_phil Offline Send Email
Apr 4, 2005
1:29 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help