[eluser]Skoobi[/eluser]
The code hasnt changed and it was working ok. But heres basicly whats happening.
Contact Page > then on submit goes to the sendMessage function in my page controller > then comes back by a redirect to the contact page with a flash message for success or not.
What its doing is on submit it will do the actions, so it sends the message and returns back to the page but doesnt show the message unless i click refresh browser.
Its the same as in the admin area ive done. I have a tasks section and if i click on complete button it will preform the action and update the database but doesnt show up when it returns to the page. Just to further explain that one.
Task function in controller i have a button for close task. If i click that button it goes to the close_task function makes the changes in the database and then redirects with flash message to the tasks page. In the tasks page i have a status column which tells you the status. But that doesnt change (even though is updated the database) unless i click on the browser refresh.
Its really strange.
Im on the verge of starting a new project and see if it does it with that and if it does i can definitely point the problem to the serve (my own vps and nothings changed in 2 years)
Cheers