yoma wrote:tnx a lot for the quick answer
but i'm affraid it's not correct.
-if you don't start a session on the included page you don't have access to
$_SESSION['myvariable']
sorry that isn't true, the included file has access to the session variables as long as session_start() has been called in the parent file.
You can't pass variables to included files like that, it just won't work. The included file has access to the same variables that the parent file does.
yoma wrote:Maybe there is someone who knows a small workaround for the problem?
As Mark's said, we'll probably need to see your scripts to help you fix this.
However, you are trying to include a URL, have you tried using the relative path to the page? E.g.:
assuming mypage.php is in the same folder as the parent page.
Mac
Mac