how to change from "http" to "https" without reloading the site.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tamer

    #1

    how to change from "http" to "https" without reloading the site.

    Hi!
    Is there a way to change the protocoll type through Javascript without
    reloading (or making a request from the webserver) via Javascript?

    for example:

    http://mydomain.com -https://mydomain.com

    and backwards (if possible).

    I want only to change the protocoll BUT NOT making a new server request.

    That's all.


    For any advise and help from your side I would thank you very much!


    Tamer
  • Randy Webb

    #2
    Re: how to change from "http&quot ; to "https&quo t; without reloading the site.

    Tamer said the following on 1/20/2008 12:28 PM:
    Hi!
    Is there a way to change the protocoll type through Javascript without
    reloading (or making a request from the webserver) via Javascript?
    No. You are changing URL's and you can't prevent it. You can mask it
    with a frameset and all of the problems that go with it.
    for example:
    >
    http://mydomain.com -https://mydomain.com
    >
    and backwards (if possible).
    >
    I want only to change the protocoll BUT NOT making a new server request.
    You aren't just changing the protocol, you are changing the URL itself.

    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
    Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

    Comment

    • Jim Ley

      #3
      Re: how to change from "http&quot ; to "https&quo t; without reloading the site.

      On Sun, 20 Jan 2008 19:28:21 +0200, Tamer <no@mail.dewrot e:
      >Hi!
      >Is there a way to change the protocoll type through Javascript without
      >reloading (or making a request from the webserver) via Javascript?
      >
      >for example:
      >
      >http://mydomain.com -https://mydomain.com
      >
      >and backwards (if possible).
      >
      >I want only to change the protocoll BUT NOT making a new server request.
      Of course not, the very sites are completely different, https and http
      are simply different things.

      Jim.

      Comment

      Working...