Hello

Can anybody help me with sessions?
Where is the problem? I start session in "start.php" script.

<?php // start.php script
session_name('test');
session_start();
$_SESSION['fig1'] = 'split';
..
..
..
$split = "http://";. $_SERVER['HTTP-HOST']. dirname($_SERVER['PHP_SELF']). "/split.php";
?>
<a href=<?php echo $split ?> target="_blank" title="Split user">Split testing</a>

______________________________________________________

After link cliking in IE or OPERA they start new session. How can I conect to existing session?

<?php // split.php
session_name('test');
session_start(); // unable to connect to existing session, create another one.
?>
..
..
..

I used this two scripts wit DeepNet Explorer and all works fine, but in IE and OPERA function session_start() called from split.php start new session so I can't read $_SESSON array than.

Thanks for any hints

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to