Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Copy JSP session var to ASP

Thread Tools

Re: Copy JSP session var to ASP

Scott Yanoff
Posts: n/a
MV wrote:
> Is there a way to bring the value of a JSP session variable over to an ASP
> page?

I would highly doubt it, unless you have both running under the same
application server. I don't know of any application servers that can
run both but perhaps there are plug-ins that allow this.

In any case, perhaps you can at least pass the session variable from
your JSP to the ASP page via a POST. You could make it a hidden
variable on your JSP and when the user clicks a link to go to the ASP
page, the link really just does a javascript:document.formName.submit()
and passes the hidden variable along. The ASP can then pick up this
hidden variable and use it for what it needs to.

Now, if you are asking about passing along something like an engine ID
or session identifier specific to the application server you are using,
then I don't think that would be possible.

Good luck,

-Scott Removed) | | AOL IM: SAY KJY

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Session["var"] and Session("var") thomson ASP .Net 10 06-20-2005 01:02 PM
Difference between Session["var"] and Session("var") thomson ASP .Net 0 06-20-2005 10:54 AM
Copy Datagrid via Session-var Gh0st ASP .Net 0 12-14-2004 10:15 AM
Threads.. Session var lost, App var ok Alvin Bruney ASP .Net 1 12-02-2003 01:56 AM
does "struct_name var = { 0 }; " fill var with 0? Fred C++ 3 08-10-2003 09:44 AM