Koozali.org: home of the SME Server

PHP -enable-trans-id

Peter Winters

PHP -enable-trans-id
« on: October 25, 2001, 05:25:38 PM »
Warning - new e-smith user at large...

Could somebody please advise:

Is SME v5.0 PHP code compiled with the -enable-trans-id which automatically adds a session ID to every related link.

I have written a web site that requires this functionality, but can't get it to work.

TIA
Pete.

WXP

Re: PHP -enable-trans-id
« Reply #1 on: October 26, 2001, 04:14:49 PM »
Are you talking about the session variables ?

If so you just have to put "session_start()" in your code to start it.

If you want the session to start on every web page without calling this function you can modify /etc/php.ini and change the line :

session.autostart

from 0 to 1 !

Hope this helps..

See ya