Bruce,
Can you add an embed point between the GetSessionLoggedIn code and Do Header. I have set a NetWebPage to type File. In the do Header, you set the ContentType. But I have not created my file yet. If the user is logged in with the proper rights, then I want to create the file.
1. template code to validate rights to the page
2. my code to generate the file
3. template code to Do Header
4. template code to Do Footer
Does this make sense?