Https To Http Canonical ?

Jul 30, 2009

If users click say a home page link on one of my https user login pages they are brought to a https version of my home page. Can I prevent certain pages from being accessed by https. I was looking at [url] but don't know how to implement it in this case.

Is there javascript that detects https and diverts to a http page on refresh or something. ( a bit like the javascript detection script HTTP-EQUIV="refresh" content="0;URL=page.php?page=javascript">)

I have too many links on https pages to create a long url for them all.

View 1 Replies


ADVERTISEMENT

HTTP And HTTPS

Jul 23, 2005

What is the difference between HTTP and HTTPS??

View 2 Replies View Related

Https/http Windows - Same Domain

Jul 15, 2011

- We have a page in http

- a popup is opened in http and the form is submitted to https

- the https windows tries to do various stuff to opener....:

Error: Permission denied for https get property Window.document

Any solution for this? Same domain... makes no sense to me such security...

In our application there is also a similar known error, but we can live with that: when a page is accessed with ssl/https jquery thickbox ajax is not working.

View 3 Replies View Related

Reload Parent (https/http)

Jun 12, 2005

I have a nonsecure page that calls a secure popup window to edit credit card info.
This is my popup code.

function popcc(url)
{
newwindow=window.open(url,'name','height=210,width=430');
if (window.focus) {newwindow.focus()}}

This is what I use to close the popup:

<input name="Close" type="button" id="Close" value="Close" onclick="opener.location.reload(); parent.close()">

The weird thing, is that this works when both pages are normal http. When the popup is is https it doesn't work any more. Ideas?

View 7 Replies View Related

Passing Variables From Http To Https

Jan 13, 2010

I have an http page in html that passes variables to an https page using JS. I get an error message permission is denied.

Is there a way I can pass the variable while avoiding the error? I am looking for a solution in JS not php or asp or any other language.

View 5 Replies View Related

Change Http To Https For Links ?

Aug 27, 2010

How can I change the links for a given domain from http to https? For example: [url] would become [url]

View 2 Replies View Related

HTTPS Web Service Request From HTTP Page?

Feb 2, 2010

I am writing JavaScript code that runs inside HTTP page, I need to make XMLHttpRequest to a REST web service. The service is running on the same site but it only accepts HTTPS. I tried to prefix the URL with https:// and Firefox rejected it as cross-site scripting attempt. It's not really cross site as I am calling the same site.

I don't have an option to redirect the entire page to https.

Is there a proper way to implement this request?

View 5 Replies View Related

Accessing Data Present In Http From Https Frame

Jul 23, 2005

I have a frame in which there are 2 IFrames., both being loaded from
the same domain. One IFrame is loaded from http://test1.xyz.com and the
other IFrame is loaded from https://test1.xyz.com/test

I am getting an error while accessing data in the HTTP IFRAME from the
HTTPS IFRAME.

Is it possible at all to access the data in the other IFrame, when the
protocol is different?

View 1 Replies View Related

Window.opener.location Not Working From Https To Http?

Jun 9, 2009

I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent Problem: customer continues through checkout on main site (http:[url]....).

When they have to enter their credit card details, they click on a link to open a window (https:[url]....). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen (http:[url]....) and the payment window is closed . Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.I'm using :

<script language="JavaScript">
<!--
window.opener.location="<?php echo ($main_url);?>thanks.php>";[code].....

But the page always loads in a new window and not the parent window.Is there any way to load the confirmation page in the parent window?

View 1 Replies View Related

Window.opener.location Not Working From Https To Http

Jun 8, 2009

I have a real problem with an e-commerce site which has worked for years without a hitch but with the uptake of IE8 (it seems) this problem is getting more and more frequent. Problem: customer continues through checkout on main site [URL] When they have to enter their credit card details, they click on a link to open a window ([URL]). The details are verified and if valid, the customer is returned to the confirmation page in the parent screen ([URL]) and the payment window is closed. Pop-up blockers are causing problems here but even when pop-up blockers are disabled, the confirmation page loads in a new window.

[Code]...

View 1 Replies View Related

Mixing Secured (HTTPS) And Non-secured (HTTP) Content In The Samepage

Apr 10, 2006

Is it possible to have secured (SSL/HTTPS) and non-secured (HTTP)
content in the same page without breaking the security? I am developing
a secured reservation system in which the user can access Google Maps
(not secured). The map is embedded in the page and does not open in a
separate window.

What solution do you recommend? Use iframes? If so, how?

View 2 Replies View Related

Https Dialog

Apr 21, 2007

I'm looking for a while for doc's to understand how to delelop my own
https client to automate some tasks.

The website, I try to use for example, contains a javasript to provide
for login (URL: https://www.cortalconsors.de/euroWebDe/-).
I've attached the part of the code which is supplies the login fields
(probably easier to read when browsing the source code of the page).
I've no idea, how the POST should look like to do the login.....

View 6 Replies View Related

Using Hyperlinks On A Https And IE6/WinXP SP1

Jul 23, 2005

Basically I have a WinXP machine (SP1 with all web updates don't want to
upgrade to SP2 until this issue is resolved) and IE 6 (all web updates).

If I am on a secure (https) site none of the hyperlinks seem to work. As I
mouseover the relevant links are shown in the status bar (ie another page or
site), but when I click on these links nothing happens at all. Its as if
something is blocking the process of firing these links. NOTE: I can click
on form buttons OK and the exact same links work fine on 3 other machines
that I have.

View 1 Replies View Related

Return HTTPs Status Code Of URL

Jul 8, 2011

I am trying to write a tool (say [URL])The tool contains a list of https urls (say [URL]) given as a hyperlinks (say abc) on clicking the url the http status code of the https page should be displayed in the same page.. Is this possible? I am currently using the following code snippet..
function sendRequest(url){
var client = new XMLHttpRequest();
client.onreadystatechange = function(){
if (this.readyState == 4)
alert(client.status);
} client.open("GET", url, true);
client.send(null);
}
This seems to be working if the url given is http url but I have to get status for https url for a non-secure (http) url.

View 1 Replies View Related

JQuery :: Call Https Request Using $.ajax ?

Jul 16, 2010

Suppose Server url is : [URL] and it returns json data I want to call this url using Jquery in iphone I wrote this code :

$.ajax { type: "POST",
contentType: "application/json; charset=utf-8",
url: "https://example.com/employee",
data: "{}",

[Code]....

Is this the right way to call this https request or I need to do some other authentication also Currently it does not work in iphone It return's json data in firefox,chorme,IE ,safari but doesn't return it in iphone

It returns valid json when i send request to http

View 1 Replies View Related

Open Site's Directories Only With Https Protocol

Jan 29, 2006

I am making a site and I have an SSL certificate installed in the hosting. The problem I have is that any body can enter in the site's directories/files with https and also with http protocol :eek: .

I do not know how to do, so when some body try to open the directories/files with http the site is opened only with https protocol. With .htaccess, javasript, php, ??????

View 1 Replies View Related

JQuery :: Https Mixed Content Error With Ajax

Aug 31, 2009

It seems that if I use jquery in https and do an ajax call out and then update the dom with the resulting html I get an HTTPS unsecure content warning. Now the content is all https and there are not http calls any where so I'm wondering if this has been seen before. I've dug very deep looking for the issus and if I take jquery out of the equation it doesn't give me an error. But I've standardized jquery as part of the site and don't want to mix straight old javascript with jquery, if I can avoid it.

View 3 Replies View Related

Inserting Image With Fixed Position In All HTTPs Pages?

May 3, 2010

I'd like to insert an image with fixed position in all https pages. Is it possible? How?

View 3 Replies View Related

Cross-Frame Scripting, IFRAME And Https (access Denied)

Jul 23, 2005

I'm trying to dynamically set the height of my Iframe. my https: main page
is calling another https in an Iframe. But i get an access denied error
from my javascript trying to call the parent document.

Main https page
<IFRAME APPLICATION="yes" style="width:100%;" id="iframename"
frameborder="no" scrolling="no" SRC="https://www.otherdomain.com">

otherdomain.com html
------------------------------------------------
<script>
function bodyheight() {
x = document.body.scrollHeight
parent.document.all.iframename.style.height = x
}
</script>

View 1 Replies View Related

JQuery :: Ajax Request Using Https Url Not Adding Custom Header?

Aug 26, 2011

I am developing a mobile web app which communicates with a wcf service that returns data in json format. The way security is handled is the user logins and recieves a token which is added to the http header. The login ajax request which passes the url strings to the service is using https protocol. This works fine. The other 2 ajax requests are also supposed to use https but when I do this the custom header isn't added. If I use http which is the old url, the custom header is added to http header. I have tested this using fiddler2 and firebug and for some reason it doesn't like https in the ajax request url.

function login_service()
{
//$.mobile.pageLoading();
var stringUsername = $('#txtUsername').val();
var stringPassword = $('#txtPassword').val();

[Code]...

View 4 Replies View Related

How To Use Xml Http And Xml Dom

Sep 14, 2009

I am trying to use xml http and xml dom with javascript. I currently have this function to load the xml document:

function loadXmlDoc(dname)
{
var xmlDoc;
if (window.XMLHttpRequest)

[code]...

However, it's not working in any version of IE. I've also tried using Microsoft.XMLHTTP instead of Microsoft.XMLDOM but it's still not working. I'm on a mac and don't have IE so i've been using browsershots.org for testing.

View 11 Replies View Related

Http Referer

Jul 23, 2005

I'm trying to list to a html page where the referer is, There are a lot of
ways ive tried and work, but the problem if my mainpage uses frames, and no
matter where I do the referer check it just reports the website url, does
anyone know a cure or workaround other than trashing the frames?

View 3 Replies View Related

HTTP Request.

Oct 4, 2006

Hi all, I'm trying to submit the google sitemap after it has been created on
my server with PHP.

Here is the code:
<?php $address= urlencode('www.mysite.com/sitemap.gz');?>
<form name="submitsitemap" method="POST"
action="http://www.google.com/webmasters/sitemaps/ping?sitemap=<?php echo
$address;?>"></form>
<script>submitsitemap.submit();</script>

The problem is that in the URL i've this:

View 4 Replies View Related

Refresh Iframe's Parent From Within Iframe In Https?

Aug 11, 2011

I have a page A and inside it I have an iframe B. B points to another php file that shows a form (so basically in the iframe we see a form). When I submit the form, I call to another page C that verifies the fields of the form and if they are ok I redirect to page X, if not I redirect to page Y. The problem is that I see page X and Y inside the iframe, and I want to see them in the parent page.

View 1 Replies View Related

GET Message Format HTTP

Jul 23, 2005

I wondered what the text before the get text signifies? I imagine they are
variable names and parameter values.

Is this correct?

Would someone tell me how I can go about decoding them (or give a
reference(s)), so I can find out what I should actually send in the GET?

Here is a sample of format of the instruction I have trapped.

AlphaIDs=&origin=placeAlpha&SelectionIDs=20930%7C&BidTypes=B%7C&Part=10%7C&N
ewPart=&Effort=2%7C&NewEffort=&Modes=&SubEventIds=&MktType=O&ei=2339117&iid=
Standard&fa=pb&iCard=&placeAlpha_guessLayMakeOwe=OweGET
/fishing/LoadMDA.do?mi=2339117 HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint,
*/*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0
Host: WWW.DUMMY_SITE.COM

View 7 Replies View Related

HTTP-REFERER In JavaScript?

Jul 23, 2005

I need to be able to get the HTTP-REFERER of an HTML page. Is it possible to do it with a JavaScript applet included in the page itself?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved