I use client side scripts in my ASP.NET page to popup things like calendars (date pickers), small calculators. There is no postback, no server request, those Javascripts generate the pop-ups on the fly with instructions like: w=open('','popup','top='+top+',left='+left+',width=205,height=310,toolbar=no,scrollbars=no,resizable=yes');
w.document.writeln("") etc. The problem is that the site is secured via ssl and anytime the user gets the pop-ups, he gets the following message: “You are about to leave a secure Internet connection. It will be possible for others to view information you send.
Do you want to continue?”, until he clicks “In the future, do not show this warning” (which is not to warmly accepted so far). Does anybody know how to avoid this? Any help would be appreciated.
hmmm... try opening an empty protected page, and then write from JS, something like: w=open('myemptyprotectedpage.html','popup','top='+top+',left='+left+',width=205,height=310,toolbar=no,scrollbars=no,resizable=yes'); w.document.writeln("") ...
Another thing you could to is give the full path when opening a window. Example: instead of using "page.htm", use "https://site.com/page.htm" Notice the httpS... That will maintain your secure connection. Charley.
Cedre
Member
15 Points
3 Posts
Client side pop-ups & security warning message
Feb 06, 2004 06:12 PM|LINK
Reloaded
Member
235 Points
47 Posts
Re: Client side pop-ups & security warning message
Feb 10, 2004 12:27 AM|LINK
Charley Bogw...
Participant
1880 Points
374 Posts
Re: Client side pop-ups & security warning message
Feb 10, 2004 03:00 PM|LINK