Welcome Guest, Not a member yet? Register   Sign In
Double request bug...
#1

[eluser]Unknown[/eluser]
Hey!

This is probably not dedicated to CodeIgniter, yet i was developing using it and decided to ask here (sorry if wrong Forum)

I created route rule to redirect all request to one controller method:
Code:
$route[':any'] = 'router/index/$1';

and everything was working fine, until i created .htaccess file to delete index.php from URL...

Controller was adding a row to a db table and for some reason each request was adding 2 rows instead of 1 (without .htaccess it was fine). First i thought that i messed up something with routing (which i probably did), yet soon i remembered that i had the same problem few years ago where Opera was adding multiple rows instead of 1 (other browsers were working fine).

I tested in Firefox and it worked fine, so it seems like only Opera is getting that bug (and only with mod_rewrite).

Does anyone know how to solve this ??

Thanks.

P.S. Using Opera 10.60




Theme © iAndrew 2016 - Forum software by © MyBB