Site Search

CS 350: Web Development 1

Course Info

Course Content

Supplemental Websites

Agenda main content

Agenda for Day 32 of CS 350

  1. Announcements
  2. Quiz 4 on Friday
    • Short Answer Questions - Comprehensive
      • 10 questions, 2 points each (20 points total)
      • Closed book, closed Web
    • Programming Problem using PHP and SQLite
      • One problem (30 points total)
      • Open book, open Web
      • Done on Computer, graded online

  3. Lab Assignments
    • Lab 14 due today
    • No more lab assignments this quarter

  4. Project 1 Milestones
    • Memorandum 6 containing a site diagram of website content and organization (neatly hand-drawn is OK) due today (one per team)
    • Group Oral Presentations due next Monday and Tuesday
      • Monday
        • Group m:
        • Group n:
      • Tuesday
        • Group o:
        • Group p:
    • Website due next Tuesday
      • Be sure your website is saved in your group cs350's account under folder U:\Project1
    • Individual Memorandums assessing individual and team effectiveness due next Tuesday (by each team member)
      • Reflect on what is working well, areas for improvement, and serious deficiencies in team member's efforts and contributions

  5. Readings
  6. Today's topics and learning objectives
    After today's class, you should be able to
    • Explain what is meant by the statement: HTTP is a stateless protocol
    • Use phpInfo(); to display information about the current state of PHP
    • Use PHP Session Variables
    • Use Cookies for long term storage
      • Set the cookie
        bool setcookie(name, value, [expiry], [path], [domain], [secure]);
        • name - The name of the cookie
        • value - The value to be held in the cookie
        • expiry - The expiry time of the cookie (optional)
          e.g.
          7 days from now: time() + (60 * 60 * 24 * 7)
          only as long as the session: 0
          delete the cookie: time() - 3600
      • Get the cookie
        $value = $_COOKIE['cookieName']
      • Hands-on example - Day 33

Ed Gellenbeck, Department of Computer Science, CWU
400 E. University Way, Ellensburg, WA 98926-7520