Page 1 of 1

error in URL with SESSID

Posted: Fri Sep 30, 2005 8:35 am
by levent
hi..

how can i correct this error:

when i sign in or out with the protectet page script or any other script with sending form data, there is a bug:

everytime i get this wrong url with 2 times "?" in the url.. in case of an "&" for the second one..

index.php?page=login?CMSSESSID=fbd91f34c3c06f085529138e78e0be35

what should  i do?
thx

Re: error in URL with SESSID

Posted: Fri Sep 30, 2005 8:40 am
by levent
OK, so the reason here seems to be that the URL to which execution is redirected has the CMSSESSID given with '?' to separate attributes. Like this:
http://www.yourdomain.com/index.php?pag ... 191f6c00cc

and some newer PHP versions seem to have solved this problem.

It woud help if there was no CMSSESSID set (no attributes), like this:
http://www.yourdomain.com/index.php?page=Forum

or if '&' was used as a separator instead of '?', like this:
http://www.yourdomain.com/index.php?pag ... 191f6c00cc

One can do both and it was described here how to do it:
http://forum.cmsmadesimple.org/index.ph ... 620.0.html

But I don't have access to my php.ini and setting it in .htaccess doesn't work. Any ideas how to set any of these other way?