Jump to content

session...


chiaki*misu

Recommended Posts

:confused:

 

hye all :)

im creating a session..

 

in my first page..

 

<?php session_start();

 

$_SESSION['name'];

$_SESSION['id'];

 

?>

 

name and id are my form names..

 

then the second page..

 

<?php session_start();

echo "name is : " .$_SESSION['name'];

echo "id is : " .$_SESSION['id']; 

?>

 

so..what did i miss?

and..when do i use ob_start and ob_flush?

r they necessary for my session?

Link to comment
https://forums.phpfreaks.com/topic/170925-session/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.