Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Peter Winters on October 25, 2001, 05:25:38 PM

Title: PHP -enable-trans-id
Post by: Peter Winters 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.
Title: Re: PHP -enable-trans-id
Post by: WXP 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