The University of Queensland Homepage
School of ITEE ITEE Main Website

 INFS3204 Practical 4

Practical guidelines:

Just to iterate:
  • Pracs are designed to introduce you to common programming concepts taught in this course.
  • Each prac consists of any number of tasks, which may be assessed for marks when completed.
  • Read the instructions given in the prac to see what should be the desired results. Sometimes hints may be given to guide you through the task, but for most of the time you're encouraged to research how to solve the problems yourself!
  • Don't hesitate to ask the tutor if you need help.

There are 3 marks for this prac, allocated as follows:

  1. 1 mark for completing task 1.
  2. 2 marks for completing task 2.
This prac is due in Week 8, although you can ask your tutor to mark it if you finish early!

Task 1: Simple Authentication

Marks: 1
Objectives:
  • Creating an ASP.NET web application with user authentication to prevent unauthorised access
  • Reading/writing data to user session states
Instructions: Follow the Flash video embedded below. It will no longer explain more trivial actions, so go back to earlier pracs if you'd like to refresh your memory.


Task 2: Shopping Cart

Marks: 2

Instructions: For this task, we will be doing an online shopping cart. You will have to create a table to store a list of items that a user has purchased.


Requirements:
  • They can specify any amount of items to be purchased from the existing list of items (you will have to populate the data into the database beforehand) that you have retrieved from the database (Hint: you can use checkbox or radio button to allow the selection of the items)
  • When they are satisfied, they can checkout the items, which will be sent to a shopping cart web service.
  • The shopping cart web service keeps tracks of all the purchases for each user.
  • When the user accesses the purchase history page, he/she will also see a list of past purchases on the page, displaying the total cost of each purchase, with a grant total cost for all purchases.

That's it for Practical 4!


Additional Task

Additional Task 1: Website Analysis Application

Instructions: For this task, we will be doing an online website analysis application to record the viewers of another web page. You will need to create the relevant tables to complete this prac.


Requirements:
  • This prac requires you to have a page which will be viewed by viewers. The viewers of this page will have several of their details recorded by the website analysis application. The user this prac refers to is the website owner.
  • The analysis program will be able to record the type and version of the user's browser name and version and their operating system. The user will be able to view the operating system and browser information in two tables.