I just ran phpinfo(), and it has session.use_cookies set to "On", so session strings shouldn't be appearing in the URL. I actually have the newest version of cakephp, where the core file is loaded in app/config/ core.php, and the options don't use Configure::write(), but the define() function.
I don't know what the problem is, but I just fixed it for me by changing the CAKE_SESSION_SAVE variable's setting from "php" to "cake". Anyway, thanks for your help. On Feb 29, 8:40 pm, "b logica" <[EMAIL PROTECTED]> wrote: > Yup, you can change the string in app/core.php > > Configure::write('Session.cookie', 'CAKEPHP'); > > On Fri, Feb 29, 2008 at 8:33 PM, b logica <[EMAIL PROTECTED]> wrote: > > Don't block cookies. What you're seeing is the session ID. It's > > appended as a query string if cookies are disabled. See: > > > http://www.php.net/manual/en/ref.session.php#session.idpassing > > > I suspect that the string, "CAKEPHP", is configurable somewhere. > > > On Fri, Feb 29, 2008 at 5:10 PM, Joe <[EMAIL PROTECTED]> wrote: > > > > So I've put together my first cake site, and it's going really well, > > > except links that are dynamically generated keep getting the "CAKEPHP" > > > what I assume to be session variable stuck at the end of them, like > > > > > this:http://www.blah.com/cake/hello/stuff/102?CAKEPHP=bbefa9dfd9d101b7f463... > > > > The code that generates the link is pretty simple: > > > > foreach($photoarray as $p) { > > > $thumb = $p["photos"]["thumb"]; > > > $id = $p["photos"]["id"]; > > > $title = $p['photos']['title']; > > > > print <<<END > > > <td style="vertical-align: bottom;"> > > > <span style="font-size: 11px;">$title</span><br> > > > <a href="/cake/hello/stuff/$id"><img src="/images/$thumb"></a> > > > </td> > > > END; > > > > } > > > > Where $photoarray holds results from a database query. > > > > How can one get rid of the CAKEPHP argument from urls generated this > > > way? > > > > I've tried searching for this but I haven't been able to find any > > > results. Thanks a lot for any help you can give me. > > > > Joe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---