![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Please bear with me as I am not a skilled html programmer. I have a situation that I am having difficulty overcoming and perhaps you "experts" can show me the way. I have a given web site where the first page is a login page. From this page an imbedded <FORM> contains a <TARGET="_blank"> to open the reference cgi (a perl script) in a new window. The perl script authenticates the login and then does one of two things. If successful it generates a dynamic page of content output to the 2nd window. If NOT successful it redisplays the login screen which now contains an error message. Obviously this works great IF the login is successful. However, if not the redisplayed login in displayed in the 2nd window as well. Of course this is not correct. My question(s) relate to the following: How can I cause the redisplayed login page to display in the 1st window and then close the 2nd window. OR, is there any way to modify the message field in the 1st screen from the 2nd screen then close the 2nd window? Or, is there a better way to do this? And, remember, the generated successful page is dynamic so its not as easy as calling an html URL. Advice, suggestions, recommendations very much appreciated. We all have to learn. |
#3
| ||||
| ||||
|
|
Please bear with me as I am not a skilled html programmer. |
|
I have a given web site where the first page is a login page. From this page an imbedded <FORM> contains a <TARGET="_blank"> to open the reference cgi (a perl script) in a new window. |
|
Obviously this works great IF the login is successful. |
|
How can I cause the redisplayed login page to display in the 1st window and then close the 2nd window. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |