473,892 Members | 1,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can ASP.NET and JSP Share Session State?

I've been looking at a number of threads that seem to address this
issue, but they all seem to vector off into the weeds. So, can anyone
provide a definitive Boolean answer to the question, "Is it possible
for a JSP page and an ASP.NET page to communicate with each other via
session state variables?"

TIA,
Jeff Carver

Nov 19 '05 #1
2 1591
Strickly speaking no (as they are totally different environment, they can't
share the "same" session variables).

You could likely though simulate this with basically two big options :
- using a common store (such as a DB, cookies, or perhaps a replacement for
the session object usable from both ASP.NET, JSP) for those values rather
than session variables
- or by passing back and forth updated values so that changes are reflected
in the other side

---
Patrice

<je*********@ho tmail.com> a écrit dans le message de
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
I've been looking at a number of threads that seem to address this
issue, but they all seem to vector off into the weeds. So, can anyone
provide a definitive Boolean answer to the question, "Is it possible
for a JSP page and an ASP.NET page to communicate with each other via
session state variables?"

TIA,
Jeff Carver

Nov 19 '05 #2
Thanks, Patrice. That's not the answer I was hoping for, but it was
clear and unambiguous!

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1601
by: Patrick | last post by:
Hi all, I'm looking for a working example on how to share session state between ASP and ASP.NET. The solution of Y Yeung of Microsoft seemed to be a good solution but I did not get the asp part working. Anybody tips, tricks, links ? Thanks. Patrick
2
1416
by: VB Programmer | last post by:
I've read that you can save a session state variable created by an ASP page into a db so that the value of the session state variable can be read/used by an ASP.NET webform. Question: Let's say the session variable is called "UserIsAdmin" and the ASP page is the login page. When the person logs in as 'admin' it stores the session variable as "True" in a db. How does the ASP.NET page that is served up know whether the page requestor is...
1
2687
by: guoqi zheng | last post by:
I have an application in IIS with a few sub domains assign to it. Is there a way for me to share session data across those subdomains? regards, Guoqi Zheng http://www.ureader.com
1
1350
by: Charlie Hoo | last post by:
Hi, Anyone know how to share session state across different applications in the same server or different server? Thanks a lot. Charlie --- Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
3
2982
by: CharlieHoo | last post by:
Hello, How to share session state between two or more ASP.NET applications in the same server or different ones? Thanks a lot. Charlie
5
2183
by: Joe | last post by:
I have an application which runs in a non-secure environment. I also have an application that runs in a secure environment (both on the same machine). Is there any way to share the session data for this? Most of the site allows the user to add things to a cart (non-secure), once they choose to check-out, I need this information which was stored in the session to be read by the payment page(secured). Hope this makes sense. It's probably...
1
1734
by: Rommellion | last post by:
We have 5 to 6 projects .net running on production, in which each one has its own virtual direstory, however we need to add up two more and link them all together so they can share same single session state. we are doing this for some Authentication and Role identification purposes. We dont want to use any Db like storing session in SQL Server or whatever, also we dont need to use niether encryption nor passing parameters, because we will...
1
5676
by: Hans Kesting | last post by:
Hi, Is it possible to share sessions between subdomains? Say: the user logs in at www.company.com, and is redirected to my.company.com. This is a different url for the same application. Can I keep the session (so I still know WHO has logged in)? The problem (as I see it) is the session-cookie. If that has a domain of "www.company.com", it will not be transferred to "my.company.com".
5
4087
by: =?Utf-8?B?U2FjaGluIFNha2k=?= | last post by:
I have asp application, from which I am redirecting user to .aspx page. I want to use same sessions in .aspx application. When User clicks on Browsers back button i.e. comes back from .aspx page to .asp page the same session state i want to persist ? How to do this ?? Thanks in Advance Sachin Saki
0
9981
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11241
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10836
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9644
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7172
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5857
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4683
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.