You can't send from outside, something that is INSIDE... I mean a session
variable.
If that could be done than probably I will seriously have security problems.
Now what you've written it's correct in my opinion and it should work.
What are you trying to do exactly? to save a session variable, or the
current session name ?
I think this is the problem you got it wrong.
The best way for you, to forward a password (because this was the example
you said) is to do like this:
in the current file you'll have:
session_start(); session_register("session_password");
session_register("session_value");
$password=session_password; $value=session_value;
then
frame src=menu.php?<? echo session_name()."=".session_id(); ?>
and in the menu.php you need to have that:
session_start();
(to start the sessions and create the sessions variable... :)
Yours,
M
"Michael Thanry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hello everyone!
>
> I've a quick question I've been working on for a few days, look into the
> archive of the mailing-list but found nothing relevant:
>
> How to forward a session variable such as a password to a page containing
> frames?
> I tried something like frame src=menu.php?<? echo session_name()."
> =".session_id(); ?> but it didn't seem to work.
>
> Any idea or suggestion?
>
> Regards,
>
> Michael Thanry
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]