URL view helper normally creates relative URLs. If you want to redirect
from/to http/https, you can use the serverUrl view helper:
// Redirect to https from within controller:
$relativeUrl = $this->view->url(/* params */);
$absoluteUrl =
$this->view->serverUrl()->setScheme('https')->serverUrl($relativeUrl);
$this->_helper->redirector->gotoUrl($absoluteUrl);
--
*Hector Virgen*
Sr. Web Developer
Walt Disney Parks and Resorts Online
http://www.virgentech.com
On Tue, Aug 31, 2010 at 9:58 AM, teccmo <[email protected]> wrote:
>
> Bill just mentioned https and I am wondering how the URL view helper deals
> with this. If the login page uses SSL to send the user's credentials. Then
> the user is authorized and redirected to a non-secure page (not using
> https)
> will URL view helper change the reset the schema to http?
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Guidance-on-storing-passwords-securely-tp2400394p2401953.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>