chaitu chaitu
asked on
pop up window should be displayed on top of parent window if the user session timed out or closes browser window
My requirement is as follows.
pop up window should be displayed on top of parent window.
in the pop window 3 input text fields and 3 buttons should be displayed.
above functionality should work in the following conditions.
1)when session times out.
In this requirement my doubt is how do i know that session is timed out from client side perpective because we set the session time out at server-side.upto 20 mins if user is idle then this pop up window should be displayed.
2)when user closes the brower or click X button.even though i used onbeforeunload or onunload functions its not working properly.
3)when user wants to move to other site.
to deeper the problem this functionality should work in all major browsers.
For your information Presently application is designed in such a way that above top frame ,middle frame and botton footer is there.
pop up window should be displayed on top of parent window.
in the pop window 3 input text fields and 3 buttons should be displayed.
above functionality should work in the following conditions.
1)when session times out.
In this requirement my doubt is how do i know that session is timed out from client side perpective because we set the session time out at server-side.upto 20 mins if user is idle then this pop up window should be displayed.
2)when user closes the brower or click X button.even though i used onbeforeunload or onunload functions its not working properly.
3)when user wants to move to other site.
to deeper the problem this functionality should work in all major browsers.
For your information Presently application is designed in such a way that above top frame ,middle frame and botton footer is there.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
when user uses browser back button or close button also this pop up window overlay should come
so what technologies does the current application use?
What javascript libraries are being used or preferred to be used?
what have you done? and what specific problems are you having trying to meet your requirements above?
What javascript libraries are being used or preferred to be used?
what have you done? and what specific problems are you having trying to meet your requirements above?
ASKER
so what technologies does the current application use?
struts,jquery
What javascript libraries are being used or preferred to be used?
jquery
what have you done? and what specific problems are you having trying to meet your requirements above?
i need overlay on the parent page after 20 mins then the parent page should be faded,...
struts,jquery
What javascript libraries are being used or preferred to be used?
jquery
what have you done? and what specific problems are you having trying to meet your requirements above?
i need overlay on the parent page after 20 mins then the parent page should be faded,...
Have you looked at the first url I listed in my first post? it has instruction and a demo page where you can get working code
ASKER
for browser back button or close button i think need to use onbeforeunload function.