Reply to Re: sessions - with or without cookies

Your name:

Reply:


Posted by Chuck Anderson on 06/11/07 19:52

Michael Fesser wrote:
> .oO(Chuck Anderson)
>
>
>> I am seeing very definite results when I test from my own browser. With
>> cookies enabled, the session var is always set.
>>
>> However, if I disable cookies, what happens is this (as it appears to
>> me). When I enter the page (with image(s) in it), I call start_session
>> and set my var. When the image requests are redirected (via htaccess) to
>> the image server script, each call to start_session (one for every image
>> on the page) creates a new session (empty sessions).
>>
>
> Correct, because by default PHP doesn't rewrite <img> tags when
> session.use_trans_sid is enabled.
>
>
>> This makes sense,
>> as my browser is not sending a cookie telling the server a session is in
>> use. Based on that, I tried setting session.use_trans_sid, but that did
>> not change anything (which seems puzzling).
>>
>
> Have a look at url_rewriter.tags and adjust it as required.
>
> Micha
>

Nice! Thanks for that. That could be just what I'm looking for. I'll
have to experiment with it later (but for now I've .... places to go,
..... people to see, .... things to do ....)

I'll post back my results.

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация