Welcome Guest, Not a member yet? Register   Sign In
redirect problem (on local network work,)
#1

[eluser]Amir Bukhari[/eluser]
I am new to codeignitter and I found it great.
on my local network I access the server where my codeigniter installed. every thing work fine.
when I edit an artikel and after updating I call:
redirect("url..to the list of artikel", 'refresh');
on my machine this work normaly. I see the update artikel.

now I put my code on a public (free web hosting) for testing:
when I do the same operation, firefox/explorer do not do any refresh after redirect to the artikel list page. I should click always F5 to force it to update.

is it a server side configuration on those free web hosting? or something else problem
#2

[eluser]Sarfaraz Momin[/eluser]
why don't you try redirect("url..to the list of artikel”, ‘location’);. Let us know what is the result and we can then try to figure the problem.
#3

[eluser]Amir Bukhari[/eluser]
I have tried that also, but the same effect.
#4

[eluser]Amir Bukhari[/eluser]
I have tried also on a different free server and I still have the same effect.

I realy don't know what to do!
#5

[eluser]Amir Bukhari[/eluser]
I think I have found the problem:

the problem in the configuration of mysql server on:
########
binlog_cache_size 32768
have_query_cache YES
key_cache_age_threshold 300
key_cache_block_size 1024
key_cache_division_limit 100
max_binlog_cache_size 4294967295
ndb_cache_check_time 0
query_cache_limit 131072
query_cache_min_res_unit 128
query_cache_size 268435456
query_cache_type ON
query_cache_wlock_invalidate OFF
table_cache 40000
thread_cache_size 384
###############

for some reason I got always the old query result from the cache although the table is changed.
when I update a value in a table I always get the old value (weather I click on refresh button or not) after a few min (1..3) I got the correct value.




Theme © iAndrew 2016 - Forum software by © MyBB