[SOLVED] Session ID and URL

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
brockies
Forum Newbie
Posts: 2
Joined: Mon Dec 13, 2004 12:18 pm
Location: UK

[SOLVED] Session ID and URL

Post by brockies »

Hello everyone, I'm new to PHP so please forgive my ignorance, but I'm a bit stuck. Basically, I want to be abale to remove the long session ID in the url. Does anybody know how I can do this?

Many Thanks.
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

you can do this 3 ways, basically you need to disable

session.use_trans_sid = Off


you can do this in
php.ini
.htaccess

or in the script itself using ini_set()
brockies
Forum Newbie
Posts: 2
Joined: Mon Dec 13, 2004 12:18 pm
Location: UK

Thanks

Post by brockies »

This worked! many thanks!
Post Reply