With pressflow and cookie_cache_bypass activated, the redirect does not work because cookie_cache_bypass sets a cookie, preventing mobile_tools to add the "Location" header.

For this case, I added some html code which redirect user.

Patch attached

Comments

sylvainm’s picture

Issue summary: View changes
sylvainm’s picture

StatusFileSize
new988 bytes

New patch, fixing error from previous one

sylvainm’s picture

StatusFileSize
new1.05 KB

New patch again for html code

sylvainm’s picture

StatusFileSize
new1.05 KB

coding standards & Patch naming conventions

sylvainm’s picture

Title: Redirect not working with pressflow and cookie_cache_bypass » Redirect not working when a module sends output too early

I did find the real reason : it is not cookie_cache_bypass :
I had a module which was sending output too early (BOM unicode was present in .module file).

sylvainm’s picture

Status: Active » Closed (works as designed)