Do you have session_start in page1 or not ?