Forums

This topic is locked

Use Advanced Open Window with User Authentication

Posted 23 Jul 2003 20:13:41
1
has voted
23 Jul 2003 20:13:41 Geoff Thomas posted:
Is there any way to Open a login page in a window if authorization fails

Replies

Replied 24 Jul 2003 10:11:03
24 Jul 2003 10:11:03 Patrick Woldberg replied:
When exactly do you wish the popup?

Here is a sample for in the body on page load:

&lt;body onLoad="if (&lt;%= Login %&gt<img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle> GP_AdvOpenWindow('login.asp','','fullscreen=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,channelmode=no,directories=no',0,0,'center','ignoreLink','',0,'',0,1,5,'');return document.MM_returnValue"&gt;

Login is an asp variable that is true or false depending on the validation, if it gives a true it will popup the login window that is in my case login.asp. The validation comes at top of the page above all html.

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------
Replied 24 Jul 2003 22:26:39
24 Jul 2003 22:26:39 Geoff Thomas replied:
I am trying to have a remote link to a search page with the restrict access to page behaivor. Since the user is not logged in I want the Login failed condition to Open my login form in an Advanced Open Window thereby having the remaining search and results page in the same window. I could not get your solution above to work.

Edited by - Skibum on 24 Jul 2003 23:09:03

Edited by - Skibum on 25 Jul 2003 17:20:20

Reply to this topic