Sigma Php Ajax framework, Ajax Components, GUI Builder
February 12, 2012, 12:42:36 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Poll
Question: Can you give the code snippet about the popup needs to be closed if the session expired in parent page
is it possible? - 1 (50%)
can you give me the solution? - 1 (50%)
Total Voters: 2

Pages: [1]
  Print  
Author Topic: popup needs to be closed if session expired in parent page.  (Read 4752 times)
manikandan
Jr. Member
**
Posts: 19


View Profile
« on: October 23, 2008, 02:59:19 PM »

Hi,

I want to close the popup when the session expired in the parent page. Now it opens the popup and shows the session expired message in the popup even the session expired in the parent page. I don't want to open the popup if session is expired. Can you help me?
Logged
steven
Moderator
Hero Member
*****
Posts: 546



View Profile
« Reply #1 on: October 27, 2008, 02:30:29 AM »

It seems a little different. You have to know window handler if you want to close it. But you post back to server, you will lose your handler. So a basic idea is when you post your parent window back, you need to do something like:

when your pop goes back, you need to do something like:

Is there any better idea?
Logged

Sigma AJAX Data Grid - Easy to Integrate with PHP, ASP Classic, ASP.NET & Java
Sigma PHP Ajax Framework - WYSIWYG GUI Builder With Tree, Grid, Treegrid, Dialog, Tab & More Component
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!