Professional Web Applications Themes

HTTPS - Window. code not working anymore - ASP.NET Security

Hi I have an .NET web application where I redirect a page on submit to a blank page where the code below runs client side. I want to, with this code, refresh two frames - the one my page was opened in and another frame loading a list of items assigned to me. This code was working 100% until we chnaged the site to a secure site (HTTPS) - now it seems that I cannot use window. anumore in code. Does anyone know who I can overcome this issue? Thanks Tersia Ehlert function window_onload() ' Sets variable equal to obj ...

  1. #1

    Default HTTPS - Window. code not working anymore

    Hi

    I have an .NET web application where I redirect a page on submit to a blank page where the code below runs client side.

    I want to, with this code, refresh two frames - the one my page was opened in and another frame loading a list of items assigned to me.

    This code was working 100% until we chnaged the site to a secure site (HTTPS) - now it seems that I cannot use window. anumore in code.

    Does anyone know who I can overcome this issue?

    Thanks
    Tersia Ehlert

    function window_onload()

    ' Sets variable equal to obj - worklist.aspx

    dim workspacePage

    dim itemClosedPage


    workspacePage = "k2v3/workspace/worklist.aspx"

    itemClosedPage = "k2v3/workspace/worklist/itemclosed.aspx"


    '// Find where the parent application (K2.net Workspace) was installed and

    '// and get the ItemClosed.aspx location

    dim loc

    on error resume next

    loc = LCase(window.parent.location.toString())

    if err.number > 0 then

    '// Cannot continue

    loc = "ERROR"

    end if


    'Check if this pages is housed inside the K2.net workspace

    if instr(1, loc, workspacePage) > 0 then

    dim newloc

    newloc = Replace(loc, workspacePage, itemClosedPage)


    '// Display the ItemClosed.aspx page

    window.location = newloc

    '// Refresh the WorkList frame in the K2.net Workspace

    dim itmFrame

    set itmFrame = window.parent.frames("ItemsFrame")

    itmFrame.location.reload

    else

    window.close

    end if



    End Function

    Tersia Ehlert Guest

  2. #2

    Default RE: HTTPS - Window. code not working anymore

    This is probably security related. Try it with your web site in Trusted
    Sites. The browser security settings may be preventing you from doing
    anything malicious(useful).

    "Tersia Ehlert" wrote:
    > Hi
    >
    > I have an .NET web application where I redirect a page on submit to a blank page where the code below runs client side.
    >
    > I want to, with this code, refresh two frames - the one my page was opened in and another frame loading a list of items assigned to me.
    >
    > This code was working 100% until we chnaged the site to a secure site (HTTPS) - now it seems that I cannot use window. anumore in code.
    >
    > Does anyone know who I can overcome this issue?
    >
    > Thanks
    > Tersia Ehlert
    >
    > function window_onload()
    >
    > ' Sets variable equal to obj - worklist.aspx
    >
    > dim workspacePage
    >
    > dim itemClosedPage
    >
    >
    > workspacePage = "k2v3/workspace/worklist.aspx"
    >
    > itemClosedPage = "k2v3/workspace/worklist/itemclosed.aspx"
    >
    >
    > '// Find where the parent application (K2.net Workspace) was installed and
    >
    > '// and get the ItemClosed.aspx location
    >
    > dim loc
    >
    > on error resume next
    >
    > loc = LCase(window.parent.location.toString())
    >
    > if err.number > 0 then
    >
    > '// Cannot continue
    >
    > loc = "ERROR"
    >
    > end if
    >
    >
    > 'Check if this pages is housed inside the K2.net workspace
    >
    > if instr(1, loc, workspacePage) > 0 then
    >
    > dim newloc
    >
    > newloc = Replace(loc, workspacePage, itemClosedPage)
    >
    >
    > '// Display the ItemClosed.aspx page
    >
    > window.location = newloc
    >
    > '// Refresh the WorkList frame in the K2.net Workspace
    >
    > dim itmFrame
    >
    > set itmFrame = window.parent.frames("ItemsFrame")
    >
    > itmFrame.location.reload
    >
    > else
    >
    > window.close
    >
    > end if
    >
    >
    >
    > End Function
    >
    Brad Roberts Guest

Similar Threads

  1. FlashVars not working in CS3 anymore?
    By FrancoisMaree in forum Macromedia Flash Data Integration
    Replies: 0
    Last Post: August 11th, 10:23 AM
  2. Help - Flash cfgrid not working anymore
    By in forum Coldfusion Flash Integration
    Replies: 6
    Last Post: January 19th, 12:38 AM
  3. WinHttp is not working anymore
    By Catalin Maftei in forum ASP Components
    Replies: 2
    Last Post: June 21st, 09:29 PM
  4. [PHP] $_SELF[PHP_SELF] not working anymore
    By Javier Tacon in forum PHP Development
    Replies: 5
    Last Post: September 16th, 10:12 PM
  5. $_SELF[PHP_SELF] not working anymore
    By Maria Garcia Suarez in forum PHP Development
    Replies: 1
    Last Post: September 16th, 01:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139