[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: OT: passing jsp variables to another script



To be generic, it seems that you really only have three options:

* Post the data (variable) from one script to the next
* Put the variable on the URL between scripts
* Store the variable in a cookie to be accessed between scripts

I suppose, considering the platform and scripting languages, you could
create a COM to store the variable and use an ActiveX bridge for the
JSP side of it.

There is always a really bad option of storing the data (variable)
external of the scripts in a persistent storage, such as the DB (in a
table or global database variable) or on disk, but you'll probably run
into synchronization problems that way (depending on your specific
situation).

--- "Stieglitz Noel (fin2nxs)" <fin2nxs@ups.com> wrote:
> I was actually hoping for a generic answer that could apply to any
> scripting
> language.  It is actually between ASP 3.0 and Cold Fusion 5.0 on a
> W2k w/SQL
> 2k in the back *duck*.  
> 
> -----Original Message-----
> From: Ralph [mailto:titojermaine@yahoo.com]
> Sent: Monday, October 21, 2002 2:40 PM
> To: Stieglitz Noel (fin2nxs); ajug-members@ajug.org
> Subject: Re: OT: passing jsp variables to another script
> 
> 
> What is the other scripting language and what OS/platform are you
> running on?
> 
> --- "Stieglitz Noel (fin2nxs)" <fin2nxs@ups.com> wrote:
> > Hi all,
> > 
> > I need to pass a variable between two applications using two
> > different
> > scripting languages.  What would be the best way to accomplish
> this? 
> > What
> > about assigning the scripting variable to a JavaScript variable,
> and
> > passing
> > the Js variable?  I don't even know if that would work... but
> thought
> > I
> > should throw it out there.  
> > 
> > Any comments would be greatly appreciated...
> > 
> > Thanks for your help,
> > 
> > Noel
> > 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> 


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/