Putting It All Together

Let's take a look at what we've done in this chapter. We've allowed users to log in, and we've looked at setting a cookie on their machine when they do. We've set cookie expiration dates and used that cookie to recognize whether a user has access to members-only material, such as the ability to view and customize their own space.

Now that we have all the pieces, it's time to clean everything up and link every-thing together. Essentially, we have three files to worry about: mySpace.asp, mySpace_custom.asp, and mySpace_custom_action.asp.

In Listing 5.32, we've taken mySpace.asp and cleaned up the layout a bit using tables and then added a link that will take users to mySpace_custom.asp, which we've also cleaned up somewhat. ...

Get Active Server Pages 3.0 from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.