Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:25:56+00:00 2026-06-07T17:25:56+00:00

I am trying to have the user sign in through a popup window. When

  • 0

I am trying to have the user sign in through a popup window. When they click the link to the popup window which is a php variable they can sign in. When the window closes I want it to reload the page they were originally on (the parent page).

Here is the code on the signin.php page…

<body onunload="opener.location=('')">

But all this does is make the sign in page become the page the user was on. I think I need to put something in the parentheses, but I can’t figure out what goes there.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:25:59+00:00Added an answer on June 7, 2026 at 5:25 pm

    To reload a page, you can set the location property as the current value, like this:

    window.location = window.location;
    

    So for your case, you would use, literally:

    onunload="window.opener.location = window.opener.location;"
    

    You can also use the reload method of the location object:

    onunload="window.opener.location.reload();"
    

    This is the preferred method.

    Also, please refer to the accepted answer for your previous question: Refreshing Parent window after closing popup

    Documentation

    • window.location on MDN – https://developer.mozilla.org/en/DOM/window.location
    • window.opener on MDN – https://developer.mozilla.org/Talk:en/DOM/window.opener
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out Foursquare's OAuth so I can have a user sign
In Android, I'm trying trying to have the user enter a place they name,
I have a user control which is 2 RadCombos cascaded. I'm trying to add
I am trying to: click on the link shown below and have the value
I am trying to have a user sign up for a service via a
I'm trying to have the user pick an audio file and store the path
I have a User model. I am trying to update a confirm attribute from
I have one user (only one, all the others are fine) trying to update
I have a User model that has many posts. Im trying to render the
I am trying to have a content block always be shown to the user,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.