Page 1 of 1
IE + IA64 + session variables = doesn't work
Posted: Fri Jun 24, 2005 9:54 am
by JJunkin
I am remotely connecting to a Linux IA64 machine through IE and I have found my session variables do not work. It owrks in Mozilla but not IE. Can anyone help?
Thanks in advance,
Jason
Posted: Fri Jun 24, 2005 10:09 am
by dethron
can you give us any address, so that we can try?
Posted: Fri Jun 24, 2005 10:16 am
by JJunkin
I wish I could. We're behind a pretty secure firewall. Is there any other way to use globals variable besides session_start and $_SESSION?
Thanks again
Posted: Fri Jun 24, 2005 10:18 am
by dethron
have you tried to use a cookie?
Posted: Fri Jun 24, 2005 10:23 am
by dethron
And (i am sure you did but i want to ask to be sure), have you tried something very simple like below?
Code: Select all
<?php
session_start();
$_SESSION['test'] = "test";
echo $_SESSION['test'];
?>
Posted: Fri Jun 24, 2005 10:34 am
by JJunkin
Hi Dethron,
Yeah, that's a simple version of what my code looks like. When I browse to another page and call $_SESSION["test"] - it's null or empty.
I'm trying the cookie now. I'll let you nkow - but I would rather not use cookies.
Posted: Fri Jun 24, 2005 10:45 am
by dethron
JJunkin wrote:When I browse to another page
Does the other page contain session_start(); ?
Posted: Fri Jun 24, 2005 10:48 am
by JJunkin
yep. It works on Mozilla. I also have tried $GLOBALS - doesn't work.
Thanks
Posted: Fri Jun 24, 2005 11:00 am
by Chris Corbyn
Put full blown error reporting on please...
Could be an issue creating the session files on the IA64 machine.
Code: Select all
ini_set('display_errors', 1);
error_reporting(E_ALL);
Posted: Fri Jun 24, 2005 11:03 am
by dethron
JJunkin wrote:It works on Mozilla.
It seems session is working properly

Posted: Fri Jun 24, 2005 11:14 am
by Chris Corbyn
Session sets cookies as well as reading session files on the server (well of course it depends upon your ini configuration) so if the browsers are configured differently you may find one working but not the other - I've done it myself using IIS when i was just a lil n00b... error reporting revealed that the session dir did not have the appropriate permissions.
I'm probably wrong but putting error_reporting on is always a good start anyway

Posted: Fri Jun 24, 2005 11:17 am
by dethron
you are right jedi d11wtq :)we all(i assume) love errors when they come with in reports
