I want to force SSL on some pages and NO SSL on other pages

I have looked at webflow and it is not obviously clear to me how to:
1.  Enforce NON SSL on some pages ... (like search page, catalog, product list pages ) to improve performance.
2.  Force SSL on other pages  .... (like account edit page, beyond the obvious checkout pages)
One way I was thinking off was to use a URL rewrite intercept to do that.
The webflow seems to be a mechanism to build page flows enforcing SSL on the next page called.   But what if the user is the person directly clicking on a link that should be SSL'ed say Account Update.
Currently ... we are ssl'ing the whole site.
Mike

I have it within an ascx control which appears on each page. Alternatively, within the common.master.master codebehind page load event. I think the problem with the webflow is that you need to know which page a user is coming from to be able to take them into (and then out of) secure mode. This code ensures that certain pages are secure and others are not.
Also, Fname in the above example is the name of the page that is being requested:
Fname = mid(Request.Path, Request.Path.LastIndexOf("/") +2,len(Request.Path) - (Request.Path.LastIndexOf("/") +1) )
Edited by: Martin Barrett on Jul 23, 2009 4:07 PM
Edited by: Martin Barrett on Jul 23, 2009 4:10 PM

Similar Messages

  • Submit a page , close a page and pass values to other page

    Hi All,
    I have page , which has a text box P2_TEST
    I will click on a link on page 2, then a pop up page( page number 3) will appear . Its done using javascript.
    The popup page, has a OK button.
    Whenever I click on OK button,
    1)page 3 has to be closed.
    2)P2_TEST has to be populated with P3_TEST Value. ( P3_TEST is a text field in page 3)
    3)Cursor Should come back to P2_NAME
    which is some other field in Page 2.
    How do do this?
    Thanks in advance.
    Archana

    Thanks Tim.
    I could solve the problem using javascript.
    I have used the following javascript.
    <script>
    function test(){
    var radioLength = document.wwv_flow.p_v01.length;
    var retVal = '';
    if(radioLength == undefined)
              if(document.wwv_flow.p_v01.checked)
                   retVal = document.wwv_flow.p_v01.value;
              else
                   return "";
         for(var i = 0; i < radioLength; i++) {
              if(document.wwv_flow.p_v01.checked) {
                   retVal = retVal + ';' +document.wwv_flow.p_v01[i].value;
    retVal = retVal.substring(1, retVal.length);
    opener.document.getElementById('P1_TEST').value = retVal;
    window.close();
    </script>
    Now the problem is solved!!
    Thanks,
    Archana

  • Why does Verizon find the need to change the look of web pages and divert you to other pages?

    Why is it that verizon can't leave well enough alone! It seems everytime I log in I can't, because verizon wants me to go to another page or change my info, I just want my email, I don't want to learn about new products and new offers, If there is a time I feel te need, I will come looking, don't shove it down my throat! Another big problem is when they force you to change something before they will let you accesss your email, reminds me of a trick the Russians pull! (If you know what I mean!) If I wanted my page to look like microsofts page ,I would have their service. If you feel the need to change so often, maybe you are in the wrong business!

    It can be annoying, but I think their motivation is good.  They are trying to make things better for their customers and I think they have, even though sometimes it is annoying.  I think it would be nice if they would advise us when the pages are going to be down for maintenance,  In the mean time, you could have another E mail account so you can always get access to your E mail.

  • I have 2 pages up I can't see how to exit one page and still have the other page up I have to close an re click on the icon

    I do not see a way to close one page. I may have 3or4 different pages up but I cannot close one page with out having to close fire fox entirely. I have to go back to your icon and start all over. Thanks Dave In Austin Texas

    Set the pref <b>browser.tabs.closeWindowWithLastTab</b> to false on the about:config page to prevent closing the last tab from closing the browser and make a close button appear if only one tab is open.
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • DPS: pinch and zoom function not working on all pages within folio (v30 tools using the pdf setting). What would cause some pages to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

    What would cause some pages in the same folio to pinch and zoom fluidly, while other pages appear a bit sticky? Could it be a button on the wrong layer that's not allowing the pinch and zoom to work?
    I do have a "go to state" button that enlarges graphic to full page on the page. Could this be cancelling the pinch and zoom functionality? Would a box with text wrap ON affect the ability to pich and zoom? What else may be causing this?

  • HT204053 All I want to do is share my calendar and contacts w/my other computer that a family member uses?

    All I want to do is share my calendar and contacts w/my other computer that a family member uses?

    If you all log into iCloud with the same AppleID, then you can all have access to the same Contacts, Calendars, Mail, Notes, Safari Bookmarks. Or, you can only select some of those, but individualized iCloud email would not be possible. That's probably not really what you want to do, though.
    You can also just share out your Calendars via iCloud, no need to use same AppleID. They can subscribe to them and I believe you can authorize them to make changes.
    Looking at Contacts, it does look like you could create another iCloud account, independent of the iCloud account in the iCloud system prefs, but I don't have another to test at the moment. If that works for the Contacts, they would have their own set and yours too.

  • How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page

    How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page #1 without making the rest of the pages inaccurate, as page #1 is the Title Page. Does anyone have any suggestions?

    When you signed to be able to post in the forums, you were urged to read and accept the Terms of Use ruling these forums.
    They claim :
    The contents of the "More Like This" box prove that applying the rules you would have get the wanted explanations without creating this new thread.
    Yvan KOENIG (VALLAURIS, France) mardi 26 avril 2011 10:04:03

  • Renamed Home page to "index," now my other pages' links to home won't work

    I made a website on Iweb, bought a domain name from Hosting4less, and got an ftp client (cyberduck) to upload it. The Hosting4less support guy told me to rename my "home" page to "index" so that everything would actually show up once I'd uploaded it. This worked, and now, starting from home, I can go to any page. However, from the other pages, when I click back to the home link, I get this:
    The requested URL /Home.html was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I guess the renaming mixed up the other pages' links to the home page. How do I fix this? I don't know code, so I can't really go in and fix it that way. It seems like Iweb won't allow it either... help???

    Hi and welcome,
    with iWeb you don't need to rename any page to "index" as publishing already creates a page called "index".
    I guess you're publishing to a folder, the result of publishing is an index.html file and a folder named with the name you gave to the site in iWeb. You have to upload the folder and the index.html file.
    Pages should never be renamed after you publish as that breaks the whole structure of the website (all the links that refer to this page).
    Republish from iWeb and reupload (also don't name a page index in iWeb as that may conflict with iWeb already generating such files).
    Regards,
    Cédric

  • Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is selected

    Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is not selected. The irritating thing is that Firefox used to display pages until FF 31. Please fix this
    Thanks
    Randy

    The missing icons are supplied by a font that is downloaded from the server (@font-face) as you can probably see by little boxes that show the hex code of the characters.
    You will have to make sure that you allow pages to choose their own fonts to see such an icon font.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • When I try to watch a video, the video gets all blurry and mixes with the other pages I'm using, and it doesn't stop throughout the video..what should I do?

    When I try to watch a video, the video gets all blurry and mixes with the other pages I'm using, and it doesn't stop throughout the video..what should I do?

    Hello Gemese,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning audio issues:
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • The connection to complaints.donotcall.gov was interrupted while the page was loading." All other pages load okay. Everything loads perfectly on I/E 8

    When logging on to the "do not call website" to file a complaint I get the following message "The connection to complaints.donotcall.gov was interrupted while the page was loading." All other pages load okay. Everything loads perfectly on I/E 8.
    I have started Firefox in the safe mode and got the same results.
    Turned off firewall and virus programs, no help. I have 2 new computers about 2 years old both have the same problem with ver. 12.0

    Try to rename the cert8.db file in the Firefox profile folder to cert8.db.old or delete the cert8.db file to remove intermediate certificates that Firefox has stored.
    If that helped to solve the problem then you can remove the renamed cert8.db.old file.<br />
    Otherwise you can rename (or copy) the cert8.db.old file to cert8.db to restore the previous intermediate certificates.<br />
    Firefox will automatically store intermediate certificates when you visit websites that send such a certificate.

  • Hi sir,i want to know from you that can we lock a page until i want.example i pick up some contacts information on website but it page reload when touch anyline

    i want to lock my any page while it using.i can not reload when press my click.

    Hi manjit11,
    I am not sure why a page would reload when you are using it unless the reload button is clicked.
    However there is a feature that you can turn on to warn you when you are about to navigate away from a page.
    Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    and
    [http://kb.mozillazine.org/accessibility.blockautorefresh]

  • Reusing a page as a region in other pages

    Hi All,
    I have a requirement. I want to reuse a page as a show hide region in other pages.
    Please suggest a way to do the same.
    Version: Oracle Apex 4.2
    Thanks and regards,
    Abhishek Arora

    I'd use iframes. I've got an example on how to apply hide and show of an other region in a report. It's on my blog, which you can find here:
    http://vincentdeelen.blogspot.com/2013/07/show-report-details-in-line.html
    Vincent Deelen: Detail section in line with report, part 2
    There is always some debate about using iframes, I've mentioned a few issues in the posts.
    Please let no if you need any further help.

  • R12.2.4 Data lost after using Dialog Page and return back to calling page.(Help Please! )

    Hi Team,
    I am new to OAF and is working on a requirement to add some custom validations when the user clicks on a Button in a standard seeded page.
    The approach I took was to Extend the seeded Controller object that handled this button press event and put my custom logic in the extended controller and override the standard controller via personalization.
    The standard flow was that upon pressing the Complete Button in Page A ,user was taken to the next seeded page (Page B) to perform certain operations based on the records that were selected in Page A.
    Part of the custom validation requirement was that if certain validations were not met then the user needs to be shown a Pop-up asking if they really wanted to proceed and if they selected Yes then continue with the standard seeded flow(move to page B)  and if they selected NO then just stay on the current page.
    I was able to use OADialogPage and do this partially , the issue I am running into is that once the user selects the one or more records  using a check box from a multi-record (table) region and hits the Complete Button on page A and if the validation fails then a modal page is shown and the user makes a selection i.e.either Yes or No from the modal page and when they return to calling page (i.e. Page A) , All the Data (records ) that they selected previously is lost (Page is refreshed). Based on what I see on this forum I suspect that it is because after clicking on Yes on the modal page and while returning to the original page the processRequest fires again and VO data is queried again and all selections on the page A are lost. Since I am trying to alter the flow in seeded pages based on user intervention I am kind of lost as to how this issue can be fixed. i.e. either prevent the page refresh or preserve the selections that were made prior to navigating to the modal page. Any Help is truly appreciated !!
    My Code :
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if (oapagecontext.getParameter("completeOps") != null) {
    if (warnCount > 0) {
      //OAException message = new OAException("Not in Sequence...", OAException.WARNING);
      //oapagecontext.putDialogMessage(message);
      OAException message = new OAException("Rule XYZ Violated .Do you want continue ?",OAException.WARNING);
      OADialogPage dialogPage = new OADialogPage(OAException.WARNING, message, null, "","");
      String yes = oapagecontext.getMessage("AK", "FWK_TBX_T_YES", null);
      String no = oapagecontext.getMessage("AK", "FWK_TBX_T_NO", null);
      dialogPage.setOkButtonItemName("ConYesButton");
      dialogPage.setNoButtonItemName("ConNoButton");
      dialogPage.setOkButtonToPost(true);
      dialogPage.setNoButtonToPost(true);
      dialogPage.setPostToCallingPage(true);
      dialogPage.setOkButtonLabel(yes);
      dialogPage.setNoButtonLabel(no);
      oapagecontext.redirectToDialogPage(dialogPage);
    if (oapagecontext.getParameter("ConYesButton") != null)   {
              // Write Action code for Yes Button
              oapagecontext.putParameter("completeOps", "Continue");
    if (oapagecontext.getParameter("ConNoButton") != null){
                // Write Action code for No Button
                String errormsg = "Rule Violations have occured ";
                throw new OAException(errormsg);
       super.processFormRequest(oapagecontext, oawebbean);

    I was able to work around this issue by adding a simple check in the processRequest method of my extended Controller to prevent the call to super.processRequest incase when the control returns to the page after the user has made a selection in the Dialog Page
    if((oapagecontext.getParameter("ConYesButton") == null) && (oapagecontext.getParameter("ConNoButton") == null)) {
      super.processRequest(oapagecontext, oawebbean);
    Thanks !

  • Adding new elements to a Master Page and sharing them to existing pages

    I need to include new navigation elements on the master page
    and I want it to show up on pages I've already created. I've added
    the new elements on a layer of their own which is part of the
    master page, but the Share Layer to Pages... option is dimmed.

    jcbluesman wrote:
    > I'm using CS4, Jim, and here's a link to the .png
    > (
    http://idisk.mac.com/jconstant-Public/deimos.png
    >
    > The 3 tabs in the upper right on the master page are the
    ones I'm trying to
    > share across the existing pages. I created them in PS
    (also CS4), then imported
    > the .psd into this FW document, if that makes any
    difference.
    >
    > Thanks,
    > Jim
    >
    OK there are two related as I see it.
    Each of your pages consists of a solid, opaque bitmap for a
    main image.
    Master Pages, by default, are at the bottom of the layer
    stack. Your
    tabs ARE present, you just can't see them because they are
    covered up by
    the bitmap.
    Assuming you don't have those page images as multi-object
    elements,
    where you can edit the blue backgrounds, there are still two
    things you
    can do, both of which are pretty easy.
    Go into each page and temporarily reduce the opacity of Layer
    1.
    Use the marquee tool to draw a selection around the area of
    the tabs.
    Delete the selection.
    Return the lay back to full opacity.
    OR
    Try dragging the Master page to the top of the layer stack in
    each page.
    Hide or delete the Master page background.
    This option is a little trickier, but I was able to do it.
    Wait for the
    black bar to appear before you release the mouse. You may
    need to try
    this a few times before it works.
    HTH
    Jim Babbage - .:Community MX:. & .:Adobe Community
    Expert:.
    http://www.communityMX.com/
    CommunityMX - Free Resources:
    http://www.communitymx.com/free.cfm
    .:Adobe Community Expert for Fireworks:.
    Adobe Community Expert
    http://tinyurl.com/2a7dyp
    .:Author:.
    Lynda.com -
    http://movielibrary.lynda.com/authors/author/?aid=188
    Peachpit Press -
    http://www.peachpit.com/authors/bio.aspx?a=d98ed798-5ef0-45a8-a70d-4b35fa14c9a4
    Layers Magazine -
    http://www.layersmagazine.com/author/jim-babbage

Maybe you are looking for