Handling different sessions
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Prasanna_Venkatesha
Posted On:   Tuesday, September 11, 2001 12:32 AM

Hi, I need some help regarding two different session handling. Consider there are two different applications running on two different web servers (A and B). At some time the application A will contact application B with some data and after some data manipulation the application B will return the result. When the user returns from application B the Application A data has to be retained as before. Everything has to be in a single browser. How can we achieve this ? Whether on entering into a different site the first session gets invalidated or the same session will be maintained. On the other hand on entering the site B whether a new session gets created or the same session will be used as of A ?    More>>

Hi,
I need some help regarding two different session handling.


Consider there are two different applications running on two different web servers (A and B). At some time the application A will contact application B with some data and after some data manipulation the application B will return the result. When the user returns from application B the Application A data has to be retained as before. Everything has to be in a single browser. How can we achieve this ?


Whether on entering into a different site the first session gets invalidated or the same session will be maintained.


On the other hand on entering the site B whether a new session gets created or the same session will be used as of A ?

Thanks in advance
Pras

   <<Less

Re: Handling different sessions

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, October 11, 2001 07:07 AM

application A accesses application B the same way client in a browser would. if we are talking about servlets/JSPs, you would open an URL connection to the servlet/JSP in application B, send a request and take the response. application A will run in its session created for the client who accessed the application A through the browser. application B will create its own session for application A which it views the same as if a user connected to application B via browser. it is the same thing. so each application will have its own session, application A will have a session open for a client who accessed it through the browser and application B will have a session it created for application A as client. as far as the data in the client browser, application A controls that. it decides what to do with the data it gets from application B which has absolutely no control over client's browser (unless you for the request to application B in which case the response of application B will go directly to client's browser).
About | Sitemap | Contact