RES: [PHP-INSTALL] Can't enable use_trans_sid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



{sorry for top-posting, but outlook can't do better}

I executed "cat /usr/local/lib/php.ini | grep -i session" and found out that
there was already one entry for that conf option by default, and it was set
to 0.

It fixed it, sorry I was that dumb.

Just saw the source and it is adding the phpsessid hidden input field, now
have to find out why my app does not let me login :)


Another question:

	Is there a way to make php use these fields instead of cookies for
session control? I still want to let cookies enabled for other stuff, but as
it's messing up with multiple sessions because of poor cookie handling.


Thanks!!

-----Mensagem original-----
De: Keith Roberts [mailto:keith@xxxxxxxxxxxx] 
Enviada em: segunda-feira, 7 de abril de 2008 17:38
Para: php-install@xxxxxxxxxxxxx
Assunto: Re: [PHP-INSTALL] Can't enable use_trans_sid

On Mon, 7 Apr 2008, Thiago Pojda wrote:

> To: php-install@xxxxxxxxxxxxx
> From: Thiago Pojda <thiago.pojda@xxxxxxxxxxxxxxxxxx>
> Subject: [PHP-INSTALL] Can't enable use_trans_sid
> 
> Guys,
>
> I can't enable trans_sid, I've tried set these to php.ini :
>
> session.use_trans_sid = On [tried 1 also] url_rewriter.tags = 
> "a=href,area=href,frame=src,input=src,form=fakeentry,fieldset="
>
> Tried recompile it with --enable-trans-sid but still doesn't work. I 
> just realized that my phpinfo spits "session.use_trans_sid Off".
>
> Any hints?
>
> -- VERSIONS --
>
> PHP Version 4.4.8
>
>
> System 	Linux debian 2.6.18-6-486 #1 Sun Feb 10 
22:06:33 UTC 2008 i686
> Build Date 	Apr 7 2008 10:46:06
> Configure Command 	'./configure' '--with-apxs2=/usr/bin/apxs2'
> '--with-oci8-instant-client=/oracle/instantclient/' '--disable-zts'
> Server API 	Apache 2.0 Handler
> Virtual Directory Support 	enabled
> Configuration File (php.ini) Path 	/usr/local/lib/php.ini

Are you sure you are editing the correct php.ini file Thiago?

Can you also post the section from your php.ini that has all 
the session.* directives in it?

It maybe that there are other session.* configuration options 
that need to be set as well to enable you to use PHP sessions.

Kind Regards,

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with TMDA 
[http://tmda.net]
-----------------------------------------------------------------




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux