[Flow] Redirect on logout to http version of the site instead of staying as https

Stephen Bungert stephenbungert at yahoo.de
Wed Feb 5 09:40:59 CET 2014


On my site the usres are logged out and then redirected to a page that they 
can specify in their settings from a list of 3 or 4 pages.

When they are logged in they are using ssl, but the controllers redirect 
carrys on using https, how can I best redirect them to a non-ssl version of 
a page. In my logout action I'm currently using redirectToUri and just 
redirecting them to the correct page without ssl.

I looked at the abstract controller methods but couldn't see how to make it 
stop using ssl when making the redirect. also can the link viewhelpers also 
make some links use ssl? I couldn't see how to specify this. The link to the 
login page, for example, would be good if it would make these links ssl 
https and not http. Is this done in the routing setup? I couldn't see how to 
do this.

Thanks for any help you may be able to share. 




More information about the Flow mailing list