Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] -enable-trans-sid on Windows NT? From: TomHenry (tomhenry <email protected>)
Date: 07/01/00

Another comment on this issue.

Yes it would be helpful, especially for upgrading legacy PHP3 sites using
sessions, to get a W32 binary with enable-trans-sid ON

BUT
(1) then we'd need a way of specifying which of the php4 binaries to call, and
(2) in the majority of cases I would wish to _not_ have to pay the overhead
of that option being active for the rest of the sites on a server.

Dunno if it's possible -- but it would be sweeter if the flag could be set
via php.ini (and .htaccess ;-)

my 2cents.
Tom H

At 10:59 AM 7/1/00 +0100, Andy Warwick wrote:
>Having a few problems with sessions under Windows NT/IIS.
>
>I understand the session stuff okay, and have actually got it working,
>carrying required variables from page to page no problem.
>
>Problem comes when I want to cope with those people who might have cookies
>turned off. I understand the principle, in that you need to take the session
>ID between pages by tagging the URLs with <?php echo /"?/".SID ?>. I've even
>got that working. :)
>
>The problem is that I am using FastTemplates to keep code and html apart;
>because all my URLs are in the templates, I have to use a clunky workaround
>to tag them (define a {SESSION_ID} that is appended to every href manually).
>
>What would be ideal is if the windows binary could be compiled with the
>-enable-trans-sid option, as stated in the docs, so all this stuff is
>automatically added, but I have no idea if that's even possible.
>
>Can I get hold of another Windows binary, identical to the standard one, but
>with that option enabled?
>
>Like I say, I've got it working, but I'd really like it to be automatic, so
>I don't have to worry about designers editing the templates forgetting to
>include the {SESSION_ID} tag on all the links.
>
>Regards
>
>Andy W
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

--------------------------------------------------------------------
Strategic Business Systems (978) 745-2332
                       http://BusinessWebs.com/
--------------------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>