Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have business object tool called inside my application using iframe. My problem with this application is, while working inside the iframe application for a long time, the master page expires. Please help me to fix the problem...

Thanks in advance
Posted
Updated 31-Jan-12 4:25am
v3
Comments
thatraja 27-Jan-12 4:26am    
Not enough details in your question. Update your question
ZurdoDev 27-Jan-12 10:06am    
You'll likely have to have a timer in javascript kick off an call to an asmx web service to keep the session alive. Or, just turn off session expiration on your side. What you do will be determined by business rules. You have several options. It's also possible the BO object can fire events client side which you can capture and reset the session. Lots of possibilities.
Sergey Alexandrovich Kryukov 28-Jan-12 15:28pm    
Use "Improve question" above.
--SA

1 solution

This is the danger of using iframes. I am not sure if doing an AJAX call will keep your page alive, but you need some sort of timer that either does that ( if that works ) or lets the user know you need to refresh the whole page to keep it alive. This is one reason why iframes are a horrible idea most of the time.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900