Sessions problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bcrix
Forum Newbie
Posts: 1
Joined: Fri Aug 02, 2002 2:13 am

Sessions problems

Post by bcrix »

Hy.
I use php 4.2.2. and i can not manage sessions with $_SESSION. I creat the session wih session_create() but after i change the page all I've putted in $_SESSION array is lost. The cookie exists, so the session exists.
can sommebody help?
Cristi
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

session_create() doesn't exist (at least not in the online version of the manual). All pages that set or use session info must have session_start() at the top of them. Maybe if you post some code we can help some more.

Mac
Post Reply