Parent child windows relationships when webpage is accesssed through a hyperlink.

Parent child windows relationships when webpage is accesssed through a hyperlink.

A particular session timeout functionality works when a webpage is loaded. The webpage has parent/child windows. This timeout functionality works in the parent window(home page) even when the child windows are open. And so i included the following code.

function checkForParent() {
try {
var x_win = window.self;
while(x_win!="undefined")
{
if(typeof(x_win.opener)=="undefined") {
x_win.resetSessionCounter();
break; }
else {
xwin = xwin.opener;
} } }
catch(e) {
window.status="Exception occurred during session counter update "+e.description; } }

But when the same webpage is accesssed through a hyperlink the time out functionality does not work. this may be because the code takes the page which has the hyperlink as the parent and never calls the resetSessionCounter() function.Please help me out to solve this issue so that the functionality works even when the webpage is accessed through a hyperlink.

View Answers









Related Tutorials/Questions & Answers:
Parent child windows relationships when webpage is accesssed through a hyperlink.
Parent child windows relationships when webpage is accesssed through... is loaded. The webpage has parent/child windows. This timeout functionality works in the parent window(home page) even when the child windows are open. And so i
when update is done on parent object child object is also updated
when update is done on parent object child object is also updated  here is my code.. Hibernate-1...;/class> when am trying to update actual_object hibernate is also updating
Advertisements
parent and child dropdown
parent and child dropdown  Hi, I have one scenario in spring,i need to populate child drop down,based on parent dropdown using spring mvc and ajax... know how to use it in child drop down.How to set that child dropdown in success
Passing values from child window to parent window.
Passing values from child window to parent window.  Hai, I'm having a requirement ,in that when i open a (pop-up)child window from a parent window,the child window will contain multiple checkboxes and when i select multiple
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
Login Box appears when a button on the webpage is clicked
Login Box appears when a button on the webpage is clicked  How to create a Login Box on a web page that appears only when a button that is already present on the page is clicked
Page is not getting loaded when I refresh the webpage???
Page is not getting loaded when I refresh the webpage???  **I am loading an image section(image,demo link,Zoom) in a webpage by using javascript... when I refresh the page.* Note: Header section is getting loaded always Could
pass a variable(friends name) through a hyperlink in to another jsp.
pass a variable(friends name) through a hyperlink in to another jsp.  ... a link,when i click on a friends name for showing friend profile... is not showing bcoz when i click on a friends name,all friend name is passed in to the next
pass a variable(friends name) through a hyperlink in to another jsp.
pass a variable(friends name) through a hyperlink in to another jsp.  ...,and make a link,when i click on a friends name for showing friend profile... is not showing bcoz when i click on a friends name,all friend name is passed
Building a Parent Child relationship XML
Building a Parent Child relationship XML   PARENT CHILD 10788009 10788003 10788003 10788004 10788004 10788010 10788004 10788011 10788003 10788005 10788005 10788012 10788012 10788013 10788013
hyperlink
hyperlink  I have a .xls file and i want the code to open this .xls file in read only mode when i click on a hyperlink,it should not not be editable,please send me the code
Java - looking for a tool to force-kill a child process (Windows)
Java - looking for a tool to force-kill a child process (Windows)  ...-kill a child process. This tool/package/library must work on Windows platform... a child process that will simply not react to the standard Java way
Pass value from child to parent window
Pass value from child to parent window   ... to parent window We can pass values from a child window in Html to the parent... from the child window and then pass it to the parent window. To explain
Passing values from child window to parent window.
Passing values from child window to parent window.  http://www.roseindia.net/java/pass-value-example/pass-value-child-to-parent.shtml I have gone thru the link but my requirement is checkboxes.can u please explain
webpage
webpage  design a webpage student database using forms and frameset
passing values between jsp file through hyperlink in div tag
passing values between jsp file through hyperlink in div tag  <p>hi please help me to solve this. i have searchproj.jsp and updateproj.jsp. In searchproj.jsp values r retrieved from db as follows </p> <pre class
Relative positioning of the child window on top based on the movement of parent window
Relative positioning of the child window on top based on the movement of parent window  Relative positioning of the child window on top based on the movement of parent window
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
Call the parent page(uses master page) from the child page
Call the parent page(uses master page) from the child page  how to call the parent page from child without refreshing the parent and my parent window uses the master page
Parent - child jsp communication - JSP-Servlet
Parent - child jsp communication  Hello, Thanks for your answers to my previous tech query. This time too, I do have a couple of questions. 1) How could I pass values from a parent jsp to a popped up child jsp
Parent - child jsp communication - JSP-Servlet
Parent - child jsp communication  Hello, Thanks for your answers to my previous tech query. This time too, I do have a couple of questions. 1) How could I pass values from a parent jsp to a popped up child jsp
Retrieving the Parent and Child Nodes of a Preference Node
Retrieving the Parent and Child Nodes of a Preference Node... are going to retrieve the Parent and Child nodes of a Preference Node. You can see...() returns the parent node. We are using the method  prefs.childrenNames
how to call the parent page from child without refreshing the parent and my parent window uses the master page
how to call the parent page from child without refreshing the parent and my parent window uses the master page   how to call the parent page from child without refreshing the parent and my parent window uses the master page
how to call the parent page from child without refreshing the parent and my parent window uses the master page
how to call the parent page from child without refreshing the parent and my parent window uses the master page   how to call the parent page from child without refreshing the parent and my parent window uses the master page
how to call the parent page from child without refreshing the parent and my parent window uses the master page
how to call the parent page from child without refreshing the parent and my parent window uses the master page   how to call the parent page from child without refreshing the parent and my parent window uses the master page
Simple but confusing code... Parent obj1 = new Parent(); Parent obj2 = new Child();
Child();  Hi friends I got confused in the below code snippet: Parent obj1 = new Parent(); Parent obj2 = new Child(); Here we have created obj1 object.... Then we create Parent obj2 = new Child(); <--------------- here in this code
Child Filter
; Child Filter Child filter basically handles filtration according to parent... which are last child of their parent. Example :ADS_TO_REPLACE_3 $("div span... It filters all the elements which are only child of their parent. ADS_TO_REPLACE_6
Populating values from Child Popup Jsp to Parent jsp
Populating values from Child Popup Jsp to Parent jsp  Hi, My requirement follows like this.. I have a parent jsp where u have search button. If u... jsp should get closed and inturn it should be populated in parent jsp within
Will i be able to get the content of a webpage in a word document (Note:i don t have access to the source code)through java code?
Will i be able to get the content of a webpage in a word document (Note:i don t have access to the source code)through java code?  public class... document to the webpage(for which i don t have access to source code
How can I access databse through JSP. I am using postgresql-8.4.4-1-windows as database and jboss-4.0.5.GA as server.
How can I access databse through JSP. I am using postgresql-8.4.4-1-windows as database and jboss-4.0.5.GA as server.  I am using postgresql-8.4.4-1-windows as database, jboss-4.0.5.GA as server and jdk-6-windows-i586 with IDE
enable hyperlink
enable hyperlink  How to enable hyperlink
webpage capture
webpage capture   webpage capture source code using jsps and servlets
passing values in hyperlink
passing values in hyperlink  Hi. I have given a hyperlink in one jsp page. Can i able to pass that hyperlink label as a value to the next page its navigating when the user clicks it. Plz respond me quickly. Thanks in advance
passing values in hyperlink
passing values in hyperlink  Hi. I have given a hyperlink in one jsp page. Can i able to pass that hyperlink label as a value to the next page its navigating when the user clicks it. Plz respond me quickly. Thanks in advance
passing values in hyperlink
passing values in hyperlink  Hi. I have given a hyperlink in one jsp page. Can i able to pass that hyperlink label as a value to the next page its navigating when the user clicks it. Plz respond me quickly. Thanks in advance
passing values in hyperlink
passing values in hyperlink  Hi. I have given a hyperlink in one jsp page. Can i able to pass that hyperlink label as a value to the next page its navigating when the user clicks it. Plz respond me quickly. Thanks in advance
passing values in hyperlink
passing values in hyperlink  Hi. I have given a hyperlink in one jsp page. Can i able to pass that hyperlink label as a value to the next page its navigating when the user clicks it. Plz respond me quickly. Thanks in advance
Hibernate Relationships - Hibernate Relationships mapping example
Hibernate Relationships - Hibernate Relationships mapping example In this tutorial we will learn how to create relationships among the Entity. We will learn Hibernation Relationships mapping in detail
eclips hyperlink - JSP-Servlet
eclips hyperlink  In my myeclipse if hyperlink is provided in any application , it's not working when I deploy it. I also use net at my PC, is there any problem due to IP Address
Hibernate one-to-many relationships.
Hibernate one-to-many relationships.  How does one-to-many relationships works in hibernate
copy something from a webpage to my webpage
copy something from a webpage to my webpage  How can I copy something from a webpage to my webpage
ModuleNotFoundError: No module named 'relationships'
ModuleNotFoundError: No module named 'relationships'  Hi, My... 'relationships' How to remove the ModuleNotFoundError: No module named 'relationships' error? Thanks   Hi, In your python
Hyperlink
webpage
make a webpage
make a webpage   I will provide you some basic requirements that you will be implementing over a small web page... Requirements: A web page having... webpage in a different way Try to use features of HTML5, CSS3 and JavaScript
types of relationships in tables
types of relationships in tables  How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?   hi... relationships are implemented by splitting the data into two tables with primary
Reading child of child nodes in xml
Reading child of child nodes in xml  Hi I am using the following XML file and would like to read the data for respective date in the child nodes. I.... This is the first time I am calling child of child node. Please help. Thanks in advance
Explain Hibernate Relationships with example.
Explain Hibernate Relationships with example.  Hello, Please explain various hibernate relationships. And if you can provide some examples... databases support one-to-one, one-to-many, many-to-many and many-to-one relationships
ModuleNotFoundError: No module named 'hyperlink'
ModuleNotFoundError: No module named 'hyperlink'  Hi, My Python... 'hyperlink' How to remove the ModuleNotFoundError: No module named 'hyperlink' error? Thanks   Hi, In your python environment you

Ads