tags:

views:

162

answers:

1

dentro de un archivo HTA tengo un iframe y no esta enviando las cookies, hay alguna forma de que las envie correctamente.

I've an iframe inside of a HTA file, when I call the inner page cookies aren't send to the server.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;
<html xmlns="http://www.w3.org/1999/xhtml"&gt;
<head>
<HTA:APPLICATION 
  ID="oHTA" 
  APPLICATIONNAME="Emp"
  ICON='img/icono.ico'
  SCROLL="no"
  SINGLEINSTANCE="yes"
  SELECTION='yes'
  NAVIGABLE='yes'
  SHOWINTASKBAR='Yes'
  WINDOWSTATE='normal'>
<title>HTA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
</head>
<body> 
  <iframe application="yes" width="238px" src="www.mypage.com" height="250px" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" id="frameId" name="frameId"></iframe>
</body>
</html>
+1  A: 

Could be an issue with p3p headers. I have asked a similar question some time back and I have added a blog post about it too. Check it out here if it helps.

Good that you explained in english ;-)

Podría ser un problema con las cabeceras de P3P. He pedido a esta cuestión algún tiempo atrás y he añadido un post en un blog acerca de ello también.

(Hope this is correct. Used google translate ;-) )

Shoban
jeje, thanks, sorry for the dual language
andres descalzo
;-) NP at all. as long as most of us understands the question we will be able to help.
Shoban
ok, but the problem is that the url in the iframe isn't in my domain and not my. I can not put on that page the P3P header, would work well if you put in the parent page?.
andres descalzo
That is why it failes... P3p headers must be added to the pages you load in the iframe.
Shoban
ok, I do not have access to this page, but if I find the solution add the commentary
andres descalzo