What are the pros and cons of session.use_trans_sid ON and OFF
Just moved our site from one which had the php.ini, session.use_trans_sid=OFF to
one with it ON
Sure looks ugly having the PHPSESSID showing up for visitors.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Hello
I have a site that has session.use_trans_sid = 1.
It seems that the first time I visit a page when I open up my browser, URLs
are getting rewritten even though a cookie IS being set. If I refresh or move
on to another page, the problem goes away, i.e. no more session ids appended
to URLs.
Hi James,
"James Harrell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
[...]
> If you want to forcefully remove this PHPSESSION (which is sometimes
> a good idea since search engine spiders will catalog the links with
> the session id if you don't remove it), try this:
>
> i
EMAIL PROTECTED]
>Sent: Thursday, June 10, 2004 4:51 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] session.use_trans_sid = 0 does not work!!!
>
>
>Hi. My www provider has set session.use_trans_sid default to ON.
>I tried changing it in .htaccess or in the .php before session_st
Hi. My www provider has set session.use_trans_sid default to ON.
I tried changing it in .htaccess or in the .php before session_start() but
relative links are always renamed to xxx?PHPSESSION=
I'm also printing the value of session_use_trans_sid with ini_get and it
always returns 1 ("on")!
I d
Hi guys ,
Seams like ini_set('session.use_trans_sid',0) does not work right on PHP
4.3.1 on Linux.
//--
PHP config is:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl'
'--with-swf=/usr/local/flash' '--enabl
You cannot do it inside the script as the trans-sid stuff happens before
your script is executed. The setting is changed, so ini_set() is doing
its job, it's just that it sets it too late.
In your .htacess file, just do it per-location:
php_value session.use_trans_sid 0
-Rasmus
On Tue, 13 A
After reading other posts, I have found that there are two ways to disable
use_trans_sid at runtime. I do NOT have the ability to change the php.ini
file, so I am stuck with handling this at runtime.
1. in code:
ini_set("session.use_trans_sid","0");
2. in an .htaccess file:
php_value ses
> On Saturday 29 June 2002 18:02, Dan Tappin wrote:
>> I am setting up a login section of my site using sessions. I have the
>> login working with and without cookies enabled. I do not want to restrict
>> my users be requiring cookies.
>>
>> The problem is that I can't seem to get PHP to auto a
9 matches
Mail list logo