In January of 2004, I decided to make a login page that was fairly secure and I had no idea of where to begin. After hours of searching Google, I found out that I needed a database plus several other programs to make it all work. I spent every night for over a month working on it and finally came up with a workable login. Because I was on a linux server, the best option for me was to use PhP in conjunction with MySql and PhpMyAdmin. After it was all done, I thought it would be a good idea to make a tutorial and maybe save someone else all the searching. Since that time, I purchased Expression Web Designer and decided to re-do the tutorial using EW. This has been a daunting task to say the least.
Creating a Members area Login using Expression Web on a unix or linux server is not supported within Expression Web, however, it can be done providing you have the right PHP Script and you are hosted on a server that supports Php and PhpMyAdmin. One of the major things to consider is that most of these pages you create need to be password protected and to achieve this they must be uploaded to the server with a .php extension. Each of the pages that you want protected must have a sessions php script at the very top of the page prior to writing any html code on the page. This php script will not run unless the entire page is saved as .php. A very annoying bit of code in EW is the Byte Order Mark. This is an invisible bit of code that EW adds to the very top of each page. This BOM as it is called places itself at the very top of the page ahead of your Php Sessions code and the code will not run with this BOM in place. Since it is invisible in EW, you will have to publish your pages and enter the host server control panel to see it. If you change the meta tag in the head of your document to <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> , EW will not publish the BOM.
To open Php files in EW, right click on the file >Open With>Expression Web (open as html). If there is no html on the page, it will open just the Php. If there is both Php and html, it will open both.
Because this is a working model of the script, you will be unable to view the tutorial without registering and logging in. Once you have registered, you will receive and email with the password that you will need to log in. After you have logged in, you can navigate these pages just like any other.