How to create user logins

C

cscotty

Hello all. This is my first time on this forum and I hope that I'm not
going to ask a common question. Well here it goes:

I have created a website using frontpage xp and it looks great. I want
to, however, create a page where users can log in and have special
privileges, kind of like this forum. In fact, I want them to register
so they can buy my products. Can anyone help me with creating a page
where the purchaser has to log in? Thanks ahead of time.

Thanks,

Scott


cscotty
 
T

Tom Gahagan

Hi cscotty.....

This is not a trivial (but not impossible either!) task as to do it "right"
you are going to need a database and you are going to need to use, if you
want more features than the built in FP database and forms, a scripting
language like asp or php.

To begin with you might play with the built in FP database and form features
as they can get you going in the easiest way. You can build a form and use
the form properties to write to a database. However, if you want the users
to be sent to a specific page based on their level of registration, etc you
will probably have to go with an asp or php solution.

There are LOTS of places to learn asp or php. If you are on a windows
server you probably will go with asp. If you are on a unix server you will
probably go with php.

As a general rule of thumb I encourage you to get some knowledge of good
database design before you start learning a database product like Access
or MySql. (MySql is real popular these days for both windows and
unix/linux servers, there are lots of learning materials, and it is free) In
addition to good database design.. learn SQL as it will work on just about
any database system you choose.

You can also find example scripts (for learning AND you will probably find a
script that will do what you need..... you will only have to adapt it for
your situation) at:

www.planet-source-code.com
www.hotscripts.com

A great asp forum is: www.4guysfromrolla.com

Do a google search for tutorials,etc for asp or php and you will find lots
of stuff.

Anyway....... Hope this helps get you started.

Tom Gahagan
eThomaston.com
 
J

Jim Buyens

-----Original Message-----
Hello all.
Howdy.

This is my first time on this forum and I hope that I'm
not going to ask a common question. Well here it goes:

I have created a website using frontpage xp and it looks
great. I want to, however, create a page where users
can log in and have special privileges, kind of like this
forum. In fact, I want them to register so they can buy
my products. Can anyone help me with creating a page
where the purchaser has to log in? Thanks ahead of time.

FrontPage has a self-registration component, but it dates
back to the days before Microsoft bought FrontPage from
its original defelopers, and it only works on Unix.

FrontPage *can* create Web sites tht require visitor
login, but the logins are Windows accounts and belive me,
you don't want Web visitors who self-register getting
Windows accounts on your server.

The kind of security you're probably thinking of is "Forms-
based" security, and it's something you need to program
yourself. The reason is that you generally need to
integrate the login system with your e-commerce
application anyway.

If you're using (or planning to use) an e-commerce
storefront, it probably comes with its own customer
registration. Alternatively, you can start from the sample
code that I included with Microsoft Office FrontPage 2003
Inside Out.

To see the ASP version in action, browse:
http://www.interlacken.com/fp11extras/selfregasp/default.ht
m

To see the ASP.NET persion work, browse:
http://www.interlacken.com/fp11extras/selfregnet/default.ht
m

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top