We help IT Professionals succeed at work.
Get Started

reload parent from iframe

bagni99 asked
Last Modified: 2008-01-09
This is probably easy but I can't seem to find the perfect answer to this.

I have an iframe that defaults to a login page when the session times out.  What I want is the parent page to load the login page when the iframe session times out.

This is the iframe code that I need to change:

If Not IsLoggedIn And Request.Cookies(ewProjectName)("autologin") = "autologin" And Request.Cookies(ewProjectName)("password") <> "" Then Response.Redirect "login.asp"
Call LoadUserLevel()
If IsLoggedIn Then
      ewCurSec = CurrentUserLevelPriv("occasion of service")
      ewCurSec = GetAnonymousPriv("occasion of service")
End If
If (ewCurSec And ewAllowList) <> ewAllowList Then Response.Redirect "login.asp"

Thanks very much
Watch Question
This problem has been solved!
Unlock 1 Answer and 14 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE