Welcome Guest, Not a member yet? Register   Sign In
Storing a request URL
#1

[eluser]JohnDoerther[/eluser]
Hi Guys,

First of all thanks a bunch for the great help so far - I am currently into my first steps on developing a website with CodeIgniter, and I absolutely love the framework.

I have noticed that, in a lot of cases, when I submit a form on a view I would just like to go back to the original page where the user filled out the form. This goes for a lot of things on the website I am creating, for example, the website includes a shopping cart - every time the cart is updated (I am using the Cart class...) I would just like to send the user back to where he came from.

Is there an easy way to do this? Can I tell a controller: "handle a user form, but when loading the view just go back to the original page".

This also goes for example for clicking a link that adds a product to a cart, deleting an item from a cart , ...

Thanks in advance


Messages In This Thread
Storing a request URL - by El Forum - 07-24-2010, 10:36 AM
Storing a request URL - by El Forum - 07-24-2010, 11:11 AM
Storing a request URL - by El Forum - 07-24-2010, 11:20 AM
Storing a request URL - by El Forum - 07-24-2010, 11:24 AM
Storing a request URL - by El Forum - 07-24-2010, 12:21 PM
Storing a request URL - by El Forum - 07-24-2010, 12:28 PM
Storing a request URL - by El Forum - 07-24-2010, 12:34 PM
Storing a request URL - by El Forum - 07-24-2010, 03:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB