use_trand_sid

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
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

use_trand_sid

Post by tim »

i'm sick of it auto appending the SID to urls and i am sick of typing out full paths to URLS within my site to keep them from doing so

SO - I dont own the server so I guess I cannot get to the php.ini, is there ANY other way to prevent that?

Google hit me with nothing good =[
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

man this is twice already... searched n searched and posted the question, then I found the solution.

.htaccess I added:
php_flag session.use_trans_sid off

Is there any downfalls/security issues by doing this?

I'm aware that if the user has cookies disabled issues the session wont pass... but anything else?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

No if anything it makes security a little better.. not much of a difference tho.
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

thanks

just easing my mind :P :P
Post Reply