I am soo angry right now. I lost hours and i dont know why this happens. Its a semi rant but i'll try to keep it short
- My code would not work, even after refreshing it was broken
- I fixed my code or so i thought because it stops working without me changing anything (you would think i am imagining this...)
- I somehow decide to make a new window or tab i run my code and verifies it works.
- I write more code and see everything is broken again
- I write test in a new window and see my code does work
- I see my code doesnt work and firebug DOES NOT HELP
- I notice when i create a new tab everything works
- I realize refreshing does not work and i MUST make a new tab for my code to work.
Then i knew instantly what the problem was. I modify a display:none textbox but i set the values incorrectly. I cant see it because it is hidden. Now some of you might say its my fault because when doing a refresh all of the data may be cache. But here is the kicker. I was using POST data. I posted in between of the refresh each and everytime.
Whats the point of using POST when the same data is cached and use anyways? If theres no chance for a search engine to follow a block user
get link then why should i bother making anything post when security or repeat actions are not an issue? POST didnt seem to do anything.