|
Posted by Michael Fesser on 06/11/07 16:11
..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
Navigation:
[Reply to this message]
|