I have a main page, default.asp, which includes links which will spawn a pop-up window. In the pop-up there are various options to do various things, like log in, register, etc.
If there is an error (eg on registration the two passwords are different, or blank, or contain forbidden characters) the viewer will be bounced back and asked to correct things. That bit's easy, tick, done.
What I need to do is, when the login (etc) is successful, for the viewer to be taken back to default.asp, but to have this reloaded in the main window while the popup gets closed.
I'm thinking, If (action) OK Then redirect to another page (ok.asp) in the pop-up, which will reload default.asp in the main window then close itself in the pop-up.
I've found (on this forum

) some javascript for doing this when the viewer clicks on a link, but is it possible to do automatically (no clicking requied) and preferably without using JS?
Thanks.
PS. If JS is essential, don't worry, I can always put in an explanation of what a view would have to do if they had JS disabled. But the automatic nature rather than the "click here" solution is more important!
Edited by pedalcars