Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Losing session data on closing a pop up window and refreshing the parent  RSS feed

 
Ritu Bansal
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I need to populate a pop up window from a parent session and then once the pop up window is updated pass the data back to Parent session. It does not seem to work. Any ideas on how to achieve this.

Thanks in Advance.
 
Sebastian Janisch
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
session means server side ... that means if the popup does something to the session and the parent has to change it's content along with it, you have to refresh the parent so the server serves the new content ...

using javascript, you can refresh the parent like this (i hope i remember that correctly ;) ) window.opener.refresh();
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!