Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

[PHP] -enable-trans-sid on Windows NT? From: Andy Warwick (mail.list <email protected>)
Date: 07/01/00

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>