Storing Sessions and PHP

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
dubs
Forum Commoner
Posts: 28
Joined: Tue Oct 12, 2004 4:55 pm

Storing Sessions and PHP

Post by dubs »

I've got an issue with sessions and php. If a person disables cookies then it appears that php can't store sessions.

There must be a way around this as I've noticed that programs such as osommerce do not requires cookies to function.

What's the solution?

Cheers

Rich
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: Storing Sessions and PHP

Post by Roja »

dubs wrote:I've got an issue with sessions and php. If a person disables cookies then it appears that php can't store sessions.

There must be a way around this as I've noticed that programs such as osommerce do not requires cookies to function.

What's the solution?

Cheers

Rich
http://us2.php.net/manual/en/configure. ... -trans-sid

It puts the session ID on the url, which has additional risks and problems, but it solves the problem you mention.
Post Reply