|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
session and header
Guys ,..
I have these codes at 2 different machine both on windows but one is WIn2k and the other is winxp. newmembersession($row_array[id],$row_array[grp],$row_array[login],$row_array[idnum]); if($row_array[grp]=="s") header("Location:student/main.php"); if($row_array[grp]=="l") header("Location:lecturer/main.php"); if($row_array[grp]=="g") header("Location arent/main.php");The function newmembersession registers session for every user successfully logged in and later redirect the user based on their user groups. The problem is its working fine in win2k while in winxp the header is not functioning ( no error displayed , error_reporting is set to E_PARSE ) .. any ideas? any one could help me to point my mistake ? Thanks alot for the support
__________________
Rathaur ====================== Knowledge is Power |
|
#2
|
|||
|
|||
|
i changed the header to javascript relocation and it works.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > session and header |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|