Log in Script.

I want to use a log in script to only allow users to access a page of a course published on the web based on a check to a data base. With cookies The session code has to be called before a single line of HTML is on the page. Is it possible to include files into pages generated by Lectora so that the code will be on the page before any written HTML? If not any guidance to how to do this would be appreciated.Thanks

Discussion (1)

In order to add custom code to a page, use the external html object. The type, 'top of file scripting' will place the code at the very beginning of the file.In order to add custom code to a page, use the external html object. The type, 'top of file scripting' will place the code at the very beginning of the file.

Discussions have been disabled for this post