NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHPSESSID Issue

Brian D. brian at realm3.com
Mon Oct 8 10:44:25 EDT 2007


I think what you want to do is actually set "use_trans_id" to TRUE.

>From the docs:
session.use_trans_sid whether transparent sid support is enabled or
not. Defaults to 0 (disabled).

You want the sid to be transparent, so I would set that to true and
see if that helps.

- Brian

On 10/4/07, Randal Rust <randalrust at gmail.com> wrote:
> I have a site where the ID keeps getting appended to the URL. So I
> went in and added the following lines to my config.php file, which is
> included on every page.
>
> ini_set('session.user_only_cookies', TRUE);
> ini_set('session.use_trans_sid', FALSE);
>
> The ID still shows when I first visit the page. If I refresh, it goes away.
>
> This is more than a little annoying. What else do I need I need to do?
>
> --
> Randal Rust
> R.Squared Communications
> www.r2communications.com
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



More information about the talk mailing list