Hello all I am using the request scope.

I have parent window, which opens a child window on button click.
Am using window.open

That child window opened is request scope. Problem is, on that child window there is a button.. say I write "greg" in the textbox and click the button its reset back to old value.
On every button click its considering it a new request.

whats the probleM?? Its not normal. I am thinking of doing session, and then on close of that child window invalidate the session??

8 Years
Discussion Span
Last Post by peter_budo


It sounds to me like it's simply a submit button (or a regular button scripted to give a submit action).

I don't think it's anything to do with request scope, which is a server-side thing.



i got a solution..

I will do it a session for the child window. and when the child window is closed i will destroy the session..

since if parent window opens aagain the child window previous values dont show up

anyone knows how to destroy a session on close?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.