skein Posted October 10, 2007 Share Posted October 10, 2007 i have these 2 files: index.php: <?php session_start(); $_SESSION['name']="aaa"; print_r($_SESSION); echo "go to"; ?> and index2.php <?php session_start(); print_r($_SESSION); ?> but index2.php doen't output the array. why??? please help Link to comment https://forums.phpfreaks.com/topic/72646-sessions-help-needed/ Share on other sites More sharing options...
trq Posted October 10, 2007 Share Posted October 10, 2007 That should work fine. How are you getting from index1.php to index2.php? A link? Link to comment https://forums.phpfreaks.com/topic/72646-sessions-help-needed/#findComment-366292 Share on other sites More sharing options...
skein Posted October 10, 2007 Author Share Posted October 10, 2007 yeah. where goto there soposed to be a link that sends it straight to index2.php. Link to comment https://forums.phpfreaks.com/topic/72646-sessions-help-needed/#findComment-366312 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.