Frames
The first file sent to the client browser by the server is index.html.index.html
The first thing I want to do is ensure that the frameset is not loaded inside someone else's frames. It is desirable to create a secure session and since frames can access the document and script variables in other frames I have to take precautions to ensure only my frames (and pages in them) are loaded.The JavaScript in the header of the index.html ensures it is the topmost page loaded.
Next the index.html builds a frameset and frames. The search string if provided in the URL is analyzed to see if it could be a local page. Then the frames are built specifying that page as the one loaded in the Main frame. An example URL with a search string: http://www.javacrypt.com/dev/case1/?sessions_page.php
The html in the noframes area is what is visible to browsers that do not support frames as well as to search engines. Any pages you wish to have indexed by a search engine can be linked to from this noframes area.






