Syncedit
12-29-2002, 01:12 PM
For my site a use an session login, to login you first must click on a link which opens a popup window.
If you are logged in the popup window shows "you are now logged in hmm :)" and
<form><input type=button value=' Close window ' onClick='javascript:window.close();'></form>
to close the window
But on the original page it stays "You are logged out, click here to log in (popup again", if you refresh the status changes to logged in.. correct
but I'm looking for some javascript code to close the popup window and to refresh or reload the original window so that the status changes to "you are logged in"
But i don't know to give the original window a name, and how to combine those 2 javascript codes,
thx!
cedric
If you are logged in the popup window shows "you are now logged in hmm :)" and
<form><input type=button value=' Close window ' onClick='javascript:window.close();'></form>
to close the window
But on the original page it stays "You are logged out, click here to log in (popup again", if you refresh the status changes to logged in.. correct
but I'm looking for some javascript code to close the popup window and to refresh or reload the original window so that the status changes to "you are logged in"
But i don't know to give the original window a name, and how to combine those 2 javascript codes,
thx!
cedric
