Hi all
i have problem while using sessions
i was working with php4 on apache with This Functions:
[PHP]session_start() ;
session_registe r("username") ;
$username="abdo elmasry";[/PHP]
it was working good
now
im trying to use sessions in php5 on IIS 6.0
I wanna Some Wote Help me
Why this code Not Working:
first Page:
[PHP]<?php
session_start() ;
$_SESSION['username']="abdoelmasr y";
?>[/PHP]
Second page:
[PHP]<?php
session_start() ;
echo "$username" ;
?>[/PHP]
ThX
i have problem while using sessions
i was working with php4 on apache with This Functions:
[PHP]session_start() ;
session_registe r("username") ;
$username="abdo elmasry";[/PHP]
it was working good
now
im trying to use sessions in php5 on IIS 6.0
I wanna Some Wote Help me
Why this code Not Working:
first Page:
[PHP]<?php
session_start() ;
$_SESSION['username']="abdoelmasr y";
?>[/PHP]
Second page:
[PHP]<?php
session_start() ;
echo "$username" ;
?>[/PHP]
ThX
Comment