|
First Level File Linkage
Index.asp should be the starting point for
the secured site, whereby on first visit to the site a login is required
(index.asp redirects to login.asp), and if you the user selects 'Remember
Me' or is revisiting in the same session (the same browser as a previous
login). If a correct login is detected or valid cookie, the rest of the
page is displayed else the redirect occurs.
Files named with a preceding 'SE' provide functionality and don't contribute
to the way the site will look.
Changing HTML styles
Signup.asp - All the text boxes must remain
with the same names, but all the way the page looks can be changed to
fit your needs.
Login.asp - The username and password fields
must remain as named, the links to the signup/forgot password pages
are optional, as is the 'Remember Me' tick box.
Forgotpass.asp - As long as the form input
stays the same, the HTML may be changed to look as required.
Index.asp - Can contain anything, as long
as <!-- #include file="system/protect.asp"
--> remains as the first line. This goes for any page you
want to protect.
Editprofile.asp - This file has quite a
bit of embedded ASP to bring up the users details and place them in
the changable text boxes. This means that changing the layout is more
of a challenge, but as long as the code is not lost in the reformating,
the functionality should continue.
Customizing the Error Template
The error template is parsed and the string '[error]' is replaced with
a series of error strings. It is important that the flag [error] only
occurs once in this file.
<blah>
[error]
</blah>
This ensures that you can create a template that is in-keeping with
the rest of your site to display signup/login errors with.
|