Welcome Guest, Not a member yet? Register   Sign In
url redirect
#1

[eluser]hamzakhan[/eluser]
its my update page
http://localhost/server/shoping-cart/adm.../Update/64

but after updating this page i am redirecting to catagory index
but my url is like this
http://localhost/server/shoping-cart/adm...ateDetails

which i dont want to have
i just want to redirect to catagory page to show all the catagory.
#2

[eluser]Jeroen Brussich[/eluser]
Never even looked at the shopping-cart in CI, so don't shoot me if i'm completely wrong...

I assume you start at page /shoping-cart/admin/catagory/Update/64, update some stuff and then wants to be redirected to /shoping-cart/admin/catagory/Update/64 and not to /shoping-cart/admin/catagory/Update/Catagory/UpdateDetails.

If so, but the start-url in a session (or flash-data) and write a redirect to the url in the session...




Theme © iAndrew 2016 - Forum software by © MyBB