RedirectContent
Posted: Thu Oct 20, 2005 8:58 am
Having some troubles with function in the API.
When the user does something on the front end of a module you want to bounce the user back to the page from which they came...
However, I get this kind of stuff:
On a call in the module $this->RedirectContent( $resultid );
Smarty error: unable to read resource: db:home?CMSSESSID=847ebf51130a07dccc26fcbf93e0a56f
?CMSSESSID=yadayadayada get tacked at the end and I think it happens in the $content->GetUrl call
Something like this is where it tries to go to.
http://www.petroleumanalyzercompany.com ... 3a39e34c1e
Oddly enough there is GetURL and GetUrl functions throughout the code. Which is it?
Thanks for anyhelp, its for the poll module. Need to bounce the user back to page that they filled in the poll.
Regards,
When the user does something on the front end of a module you want to bounce the user back to the page from which they came...
However, I get this kind of stuff:
On a call in the module $this->RedirectContent( $resultid );
Smarty error: unable to read resource: db:home?CMSSESSID=847ebf51130a07dccc26fcbf93e0a56f
?CMSSESSID=yadayadayada get tacked at the end and I think it happens in the $content->GetUrl call
Something like this is where it tries to go to.
http://www.petroleumanalyzercompany.com ... 3a39e34c1e
Oddly enough there is GetURL and GetUrl functions throughout the code. Which is it?
Thanks for anyhelp, its for the poll module. Need to bounce the user back to page that they filled in the poll.
Regards,