Welcome Guest, Not a member yet? Register   Sign In
Flash data not working, in Chrome only
#11

[eluser]gregormck[/eluser]
I had the same problem where the new flashdata was being set on the page (as new:flashdata) but not carrying through to the next page (as old:flashdata). Took me ages to get to the bottom of it and then stumbled on this thread. I changed the htaccess to...
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
...which worked for a while. But I am using Jquery mobile for my app and upgraded to the newest version, which meant I add in the new css file replacing jquery.mobile-1.0.1.css for jquery.mobile-1.1.1.css.

Then I got the problem again! Note that I only got the issue when pointing at my css file
Code:
<link rel="stylesheet" href="<?php echo base_url();?>css/mycssfile.css">
When I tried pointing to Jquery Mobile's CDN all was fine.

So I then replaced my htaccess with...
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|img|js|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L]
...and the problem disappeared

I've no idea why - but thank you for your comments above!




Theme © iAndrew 2016 - Forum software by © MyBB