Recap—Using CSP Tags
Before we move on to the next chapter, let's review what we did to link the TopPicks and ShowTimes pages.
For each film on the TopPicks page, we added an anchor ( <a> ) tag that displays the ShowTimes page when the user clicks on the Show Times icon. The URL includes, in addition to the page name, a name / value pair with the object ID of the film.
Because we set the encoded attribute of its csp:class tag to 1, any references to the ShowTimes page will use encoded URLs.
In the ShowTimes page we pass that object ID, which is obtained via the Request object, to the query we defined for the Cinema.ShowOpens in a new tab class.
That query retrieves the show time information for the selected film, which is then displayed.