473,385 Members | 2,044 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

Jul 21 '05 #1
1 1532
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

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jon | last post by:
I have links that open https secondary windows using: window.open(url, windowName); The windowName is always the same but I keep getting new windows. Is it possible for each of the links to...
1
by: Ashutosh Bhalerao | last post by:
Hi all, I am trying to write a VB.Net application which communicates over SSL with an IIS server. I have got a temporary certificate from Verisign and installed it on IIS. I am using...
1
by: Tersia Ehlert | last post by:
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...
1
by: agusayala | last post by:
Hi folks. I have an application that generates and opens pdf files generated by crystal reports. In my machine works fine (I'm not working with https here), but when I put this application in...
7
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am trying to set this up using asp code and IIS configuration. But it seems not working. Here it is the way I am doing. In IIS I set up a virtual directory with secure communication, I...
1
by: ksuralta | last post by:
Hi everyone, Hope somebody can help me with this. I have a framed window. -------------------------------- Frame 1 -------------------------------- | 2 | Frame 3
1
by: cbright | last post by:
I have a very weird problem with our site at https://store.canoegame.com. For many users the site is working as it should however for a few it is not. One of the bigger problems is the fact that,...
6
by: hpatel | last post by:
Hi, I maintain a website for my organization. Recently, for a login page, I started using HTTPS. It works fine with HTTPS. The problem I face is : When a user goes to login page, he sees the...
0
by: kmdshuaib | last post by:
Hi, I have created a web application, and i need the total web site to be in https. So i have written the below code in the Page Init of the Master Page to automatically redirect the site from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.