|
Posted by Alvaro G Vicario on 06/07/05 12:44
*** StevePBurgess@gmail.com wrote/escribió (7 Jun 2005 02:30:01 -0700):
> <a
> href="printerfriendly.php?pn=1&PHPSESSID=1fa03d252f4998f205c34b67f45873ee">"
>
> This is because PHP is inserting session variables using & rather than
> &. I have searched the net for a solution - and have identified one
> or two that I can't seem to get to work.
Edit arg_separator.output in php.ini:
arg_separator.output = "&"
BTW, and it's merely a matter of opinion, I don't think it's a good idea to
send session ids in URLs. That way they end up in bookmarks, forwarded
address, etc.
> Can someone suggest a definitive solution. I do not have full access to
> the server (shared hosting).
Oops... :)
Then try ini_set(), maybe you're allowed to change it per-script.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|