Friday, 14 August 2009

Uni Flashback

Back when I was in my last semester at uni and about to graduate. Most of the questions I started to get from my classmates were regarding my immediate plans for a job. I would tell them a very detailed plan and then they would say "wow that's pretty planned out. you sure its gonna turn out that way?".

At one time, someone asked me that question, and I replied by something along these lines. I said "Well, if one day you turn on the TV, there is a flashing 'breaking news' banner on CNN with a live broadcast from who knows where, and you see me standing in front of a cave threatening a superpower, then you'll know that things have not gone according to my plan". The guy gave me an utter confused stare and then a moment later said "What?", and I said "never mind". The whole thing went over his head. He couldn't connect the dots to the Bin-Ladin reference.

This is what I have to endure, I come up with comedy gold, and no one is remotely smart enough to get it.

Web Development Update

Alrighty then! I figured out what I was doing wrong with the sessions in php. It turns out I have to use the 'session_start()' function on every php page, even if when the page is redirected to another php page.

Tuesday, 4 August 2009

Another Web Development Setback

I tried to create a Session variable in PHP and it didn't work. The variable was created but I wasn't able to retrieve it after a page redirection. For the life of me I can't understand why it didn't work. I've crossed checked the documentation for it and everything seems to be fine but it still doesn't work.....? Anyway, back to the drawing board.