Hi I have written a program in php.
The program is used in session.
It used session, however because of some reason the session is erased when I move from one page to anther.
What can cause this?
session erased when I move from one page to anther
Moderator: General Moderators
-
programAngel
- Forum Newbie
- Posts: 1
- Joined: Thu Mar 24, 2011 5:05 am
-
vishal_arora
- Forum Newbie
- Posts: 8
- Joined: Thu Mar 24, 2011 5:08 am
Re: session erased when I move from one page to anther
i think when going from one page to another you must need to add session_start() on all files. than session is not erased
Re: session erased when I move from one page to anther
post your source code if you want assistance that is not stabbing in the dark with guesses.