Instead of a redirect, what about setting the global $_COOKIE['cms_site_lang'] = $id? Or, REQUEST if that is the one you are using.global $_COOKIE; $_COOKIE['cms_site_lang'] = $id;
That works and is a very simple solutions. Can you explain to me how that works though? How can I set the cookie and use it's value before the page reloads?
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
