Programming Coffee

The Rantings of an Over-Caffeinated Web Developer

Making PHP Sessions Transparent

Posted in Random
by kposey on the June 30th, 2005

I think my server might just have this configuration option set, which is causing the PHPSESSID=d66b01bfda72d452f811a7f324bb9ec0 to be appended to my urls. I should just be able to put the following code in my site to remove that pesky request string. ini_set(use_trans_sid, 0); Then again, it might just be time to find a new web host. Can we say php5 support?

One Response to 'Making PHP Sessions Transparent'

Subscribe to comments with RSS or TrackBack to 'Making PHP Sessions Transparent'.

  1. luke said,

    on July 12th, 2005 at 3:50 pm

    Having the SID in your code isn’t all bad. Will help with SEO, as the session data can be transported across pages for the spiders. I’ve known webmasters to force SIDs into their code, in fact. But they are ugly, for those who don’t “look to see” but notice anyway (for those who care enough to look, usually it’s a sign of beauty — but that is, of course, in the eye of the beholder)

    -Luke

Leave a Reply