Re: emulating enable_trans_sid
| From: | Justin French | Date: | Mon, 01 Jul 2002 08:32:56 +0000 |
| Subject: | Re: emulating enable_trans_sid | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104641@lists.php.net to get a copy of this message | ||
That'd be great -- for inspiration if nothing else :)
Justin French
on 01/07/02 6:35 PM, Tom Rogers (trogers@kwikin.com) wrote:
> Hi
> It just so happens I have been playing with an html parser making an html
> to xml converter. I started with phpHTMLparse class but it couldn't cope
> with the html generated by microsoft so I have modified it to better handle
> carriage returns,white space,comments and embedded commands in the html.
> Your quite welcome to the files if it'll help.
> Tom
>
> At 04:03 PM 1/07/2002 +1000, Justin French wrote:
>> on 01/07/02 3:36 PM, Tom Rogers (trogers@kwikin.com) wrote:
>>
>>> Ok probably the easiest is just to add <?if(!empty(SID) echo
>>> 'sid='.SID?>
>>> to the end of each url, if cookies are supported SID will be an empty
>> string.
>>
>> I want to avoid this, because it adds a level of complexity to the
>> construction of pages that I'm not comfortable with. With multiple writers,
>> designers and programmers passing stuff around, it'll be way too easy to
>> loose the session.
>>
>> I'm not really looking for "easiest", I'm looking for "the
>> solution",
>> regardless of how long it take to perfect, because this will be a write-once
>> solution that I'll use over and over.
>>
>> It's quite possible that the end solution will require a decent HTML parser
>> or state engine. Fun fun :)
>>
>>
>> Justin French
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>