Re: [PHP]session and frames: please HELP!!!!!

2001-09-26 Thread Michael . Thanry


Ok, I now feel stupid because it still don't work or I still don't get it.
Here are the filez please feel free to comment and advise.
(See attached file: testadmin.php)(See attached file: index2.php)(See
attached file: menu.php)(See attached file: index.php)


   
 
"Marian Vasile"
 
cc:  
 
  Subject:     Re: [PHP]session and 
frames: please HELP!
26/09/2001 16:26   
 
   
 
   
 




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?

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? =".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]






-- 
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]


Re: [PHP]session and frames: please HELP!!!!!

2001-09-26 Thread Michael . Thanry


Ok, I now feel stupid because it still don't work or I still don't get it.
Here are the filez please feel free to comment and advise.

(See attached file: index.php)(See attached file: TESTAD~1.PHP)(See
attached file: index2.php)(See attached file: menu.php)

Regards,
Michael


   
 
"Marian Vasile"
 
cc:  
 
  Subject:     Re: [PHP]session and 
frames: please HELP!
26/09/2001 16:26   
 
   
 
   
 




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?

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? =".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]






-- 
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]


Re: [PHP]session and frames: please HELP!!!!!

2001-09-26 Thread Marian Vasile

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?

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? =".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]




[PHP]session and frames: please HELP!!!!!

2001-09-26 Thread Michael . Thanry


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? 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]