Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/02/2008, 20:43
Avatar de pato12
pato12
 
Fecha de Ingreso: septiembre-2007
Ubicación: Salta
Mensajes: 1.620
Antigüedad: 16 años, 7 meses
Puntos: 101
Re: setcookie + Frame

Y si usas sessiones:
El codigo tendria que ser haci:
server 2
Código PHP:
session_start();
if (!isset(
$_SESSION["language"])){
$_SESSION["language"] = 'VALOR';
}
else
{
$titulo $_SESSION["language"];

server 1
Código PHP:
<html>

<head>
<?
session_start
();
$titulo $_SESSION["language"];
?>
<title> <?=$titulo ?> </title>

</head>

<frameset rows="100%">

<frame name="principal" src="server2" marginwidth="10" marginheight="10" frameborder="0">

<frameset>

</html>
o sino cambia el iframe por include();

asi:

Código PHP:
<html>

<head>
<?
include('server2.php');
?>
<title> <?=$titulo ?> </title>

</head>
</html>
Para saber mas sobre sessiones visita este FAQ
http://www.forosdelweb.com/860238-post129.html
Suerte
Salu2
__________________
Half Music - www.halfmusic.com