hi,
i will be using weblogic clustering in my upcoming project. if i use iFrames in HTML, will there be any problem in session handling? does Weblogic creates new sessions for iFrames (specially in clustered environment)?
thanks is advance
-
frame, session and clustering (5 messages)
- Posted by: Manab Sarkar
- Posted on: September 17 2003 09:37 EDT
Threaded Messages (5)
- frame, session and clustering by Ian Mitchell on September 17 2003 11:28 EDT
- frame, session and clustering by Paul Strack on September 17 2003 22:53 EDT
-
frame, session and clustering by Manab Sarkar on September 18 2003 12:54 EDT
-
frame, session and clustering by Alexey Titorenko on September 18 2003 10:07 EDT
- frame, session and clustering by Manab Sarkar on September 19 2003 09:49 EDT
-
frame, session and clustering by Alexey Titorenko on September 18 2003 10:07 EDT
-
frame, session and clustering by Manab Sarkar on September 18 2003 12:54 EDT
- frame, session and clustering by Paul Strack on September 17 2003 22:53 EDT
-
frame, session and clustering[ Go to top ]
- Posted by: Ian Mitchell
- Posted on: September 17 2003 11:28 EDT
- in response to Manab Sarkar
The session is related to the request-response cycle, not the composition of your UI. As long as you are maintaining the session ID (e.g. in a cookie or URL) and don't time-out, then the session should also be maintained. -
frame, session and clustering[ Go to top ]
- Posted by: Paul Strack
- Posted on: September 17 2003 22:53 EDT
- in response to Ian Mitchell
The only potential problem I see is that your IFrame will be loaded at about the same time as your surrounding page, so if they are both manipulating the same data in the servlet session, you may have concurrency problems. If you are careful, though (and stick to read-only operations) you can probably avoid this problem. -
frame, session and clustering[ Go to top ]
- Posted by: Manab Sarkar
- Posted on: September 18 2003 00:54 EDT
- in response to Paul Strack
Thanks Strack & Mitchell. Further to my previous question, i will have html forms both in the outer main frame and in the innter iFrame. THe HTML form inside the inner iframe will be submitted for intermediate activities (and this action will update the session and will refresh only the inner iframe), and the main form in the main page will be submited when the user is through with all the intermediate activities and presses the submit button. what my question is: will the Weblogic server (in single server mode or in cluster mode) consider the requests coming from those 2 frames as 2 seperate client and create seperate session? or is it that the session used by the main page (outer frame) will be shared with the request submitted from the inner iframe? As far as i know, browser treats the iFrames as seperate windows internally. -
frame, session and clustering[ Go to top ]
- Posted by: Alexey Titorenko
- Posted on: September 18 2003 10:07 EDT
- in response to Manab Sarkar
Hello.
Session will be shared. -
frame, session and clustering[ Go to top ]
- Posted by: Manab Sarkar
- Posted on: September 19 2003 09:49 EDT
- in response to Alexey Titorenko
Thanks Alex