I have some code that has some ASP pages in a frameset. This line of code parent.filmDisplay.location.hef=ActionOptions[ACTION_PRINT].Action + FFIDArray.length; is executed. I would expect the page to be requested, and the results sent to that frame. This page is already loaded in that page. The only thing I can think of that would cause the page not to be re-requested is if it is cached. It shouldn't since Response.Expires = -100000 Response.AddHeader "cache-control","no-store" Response.AddHeader "Pragma","no-cache" (ASP for sending header). is executed at the top of the page I want to reload. I am sure I am missing something obvious. What could be causing my page not to reload? Thanks
Sorry inadequate info "Stephanie" wrote in message news:eZEQsXsvFHA.2540@TK2MSFTNGP09.phx.gbl... >I have some code that has some ASP pages in a frameset. This line of code > > parent.filmDisplay.location.hef=ActionOptions[ACTION_PRINT].Action + > FFIDArray.length; > ActionOptions[Action_Print].action contains a page w/ query string and FFIDArray contains the value of the query string. > is executed. I would expect the page to be requested, and the results sent > to that frame. This page is already loaded in that page. The only thing I > can think of that would cause the page not to be re-requested is if it is > cached. It shouldn't since > > Response.Expires = -100000 > Response.AddHeader "cache-control","no-store" > Response.AddHeader "Pragma","no-cache" > > (ASP for sending header). > > is executed at the top of the page I want to reload. I am sure I am > missing something obvious. What could be causing my page not to reload? > > Thanks >
Stephanie wrote: > I have some code that has some ASP pages in a frameset. This line of > code > parent.filmDisplay.location.hef=ActionOptions[ACTION_PRINT].Action + > FFIDArray.length; > > is executed. I would expect the page to be requested, and the results > sent to that frame. This page is already loaded in that page. Are you saying you set location.href to the same string that it already holds? This is a no-op. If you want to reload the current page, call location.reload(true) -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
"Igor Tandetnik" wrote in message news:e$4bPDtvFHA.4032@TK2MSFTNGP15.phx.gbl... > Stephanie wrote: >> I have some code that has some ASP pages in a frameset. This line of >> code >> parent.filmDisplay.location.hef=ActionOptions[ACTION_PRINT].Action + >> FFIDArray.length; >> >> is executed. I would expect the page to be requested, and the results >> sent to that frame. This page is already loaded in that page. > > Are you saying you set location.href to the same string that it already > holds? This is a no-op. If you want to reload the current page, call > location.reload(true) The sstring contains a different values in the URL, though it is the same page in the first case PageName.asp was loaded The location.href is PageName.asp?Selected=1 > -- > With best wishes, > Igor Tandetnik > > With sufficient thrust, pigs fly just fine. However, this is not > necessarily a good idea. It is hard to be sure where they are going to > land, and it could be dangerous sitting under them as they fly > overhead. -- RFC 1925 > >
Stephanie wrote: > "Igor Tandetnik" wrote in message > news:e$4bPDtvFHA.4032@TK2MSFTNGP15.phx.gbl... >> Are you saying you set location.href to the same string that it >> already holds? This is a no-op. If you want to reload the current >> page, call location.reload(true) > > The sstring contains a different values in the URL, though it is the > same page Another possible problem is cross-domain scripting restrictions. Do all three frames come from the same domain? In other words, is the server name part of the three URLs the same? -- With best wishes, Igor Tandetnik With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925