
It’s 7:23 pm and I’m still at Tech Elevator.
It’s partially my fault, but mostly the fault of the capstone. We’re tasked once again with the development of a site for the national parks, but this time we have to make a fully functioning website.
The first day (yesterday) went fairly well. Brandon and I made all of the different views (think web pages that are glued together on the same site) and got all the appropriate data out of the database. The first day was challenging but fun. The second day was challenging.
So, our problem was that our user can see the daily forecast. And, on top of that, they can see it in either Fahrenheit or Celsius, depending on what they choose from a drop-down menu that we supply. But the rub is, their choice must stick with them for as long as they are perusing the website. For this, you need to write a session.
A session is a piece of code that lets the website remember choices you’ve made or rights that you have so long as you stay within that session. Think of when you log in to your bank account. You go to XX-bank, you log in, and all of your information appears. If you would bring up another browser and go to XX-bank, your information wouldn’t be there. It’s only on the one where you logged in. Only on the one where you created a session.
So, we need to create a session where the user chooses between Fahrenheit and Celsius and their choice need to stick with them for as long as they are on the website.
It took us all. Freaking. Day. Like, literally all day. From 9 am till around 5:30. But we got it. We got the session. Success, I suppose.
I’m going home now.