Maybe I didn't understand your problem, but ... Why don't you give a try to my good old plain javascript solution ?
<a href="javascript:window.history.back()">go back</a> The link above will get you back just like your "back" browser button would... You can even go back further with "window.history.go(-10)" (ten pages back) No Cake, No PHP, just simple javascript... $this->referer() doesn't work for all browsers, cause the referer must actually be sent by the client (IE doesn't seem to send it all the time). +++++++ Clément On Thu, Aug 21, 2008 at 7:35 PM, draikin <[EMAIL PROTECTED]> wrote: > > Thank you for your response. Yes, thats what I'm looking for. But the > problem is that $this->referer() seems not to work. So I will test the > bread crumb feature from the HTML helper. > > draikin > > teknoid schrieb: >> You are probably looking for something like $this->referer() >> >> Also there is a bread crumbs feature in the HTML helper, for something >> more robust. >> >> On Aug 21, 10:35�am, draikin <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > i'am searching for a solution for the following problem. I want to >> > have a link on the pages of my little cakePHP app to allow to go back >> > to the page where i come from. So as the back-button of the browser. >> > For example: I search for a subset of my database entries and get a >> > page with a table containing the results. Now i want to edit one entry >> > and so i klick on the 'edit' link in the first column of the table. I >> > edit the entry, save it and want to go back to the result page. If i >> > dont want to edit, i will have a link on the edit page to go back to >> > the result page. >> > Did i describe the problem properly? >> > Can anyone give me a hint? I tried to find a solution, but i can't >> > find what i need. >> > >> > Many thanks, >> > draikin > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---