Hello everyone,
I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other aspx pages are in another domain. The issue is, I can not transfer session from aspx web page A to aspx web page B. I want to know anything wrong.
Here are more details,
- I have a jsp page contains some frames (to mesh-up content), and one frame is using aspx web page A as source of the frame;
- In aspx web page A, in page_load, I will initialize session and save session variable "customerID" in current session;
- In aspx web page A, I have a link points to aspx web page B (A and B belong to the same IIS 7.0 web site on a web server);
- I find when the jsp page is loaded, the session of aspx web page A will be initialized correctly in asp.net page_load method, and content of page A could be displayed correctly as a frame in jsp page;
- the issue is, when user clicks web page B link (in aspx web page A) in the frame inside the jsp page, web page B can not get the session initialized in step 4.
Is it by design session can not be passed? My confusion is why session information can not be passed from aspx page A to aspx page B, since they are both belong to the same IIS 7.0 web site?
BTW: I have tested that if I access aspx web page A directly in IIS 7.0 and then clicks link to aspx page B to access page B, session could be passed to page B correctly.
thanks in advance, George