...of course, as i think about this more, in the case of bots, you probably don't want them 'remembering' urls with session IDs attached...

hrm....

-mg


On Apr 23, 2008, at 11:51 PM, michael geary wrote:

good point, though you can force the session ID in url parameters... (either manually with a redirect to index.php?PHPSESSID=sessionid(), or via session.use_trans_sid)

-mg

On Apr 23, 2008, at 11:32 PM, Wade Preston Shearer wrote:

Just thinking out loud here, but what if you set a session variable before you did the first re-direct? Something like $_SESSION["cookie_attempted"] = true.

Then you could simply set any client whose $_SESSION["cookie_attempted"] is true, but doesn't have a cookie to a default language and proceed.

I thought of that and tried it, but it doesn't work because sessions require cookies so if the agent doesn't support them you can't set a session var either.



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to