Dear All,
I was wondering if anyone has experience in or is aware of any PERL
codes for the design of adaptive web pages.
I am working on a project in which I'd like to keep track of visitors
without the use of cookies. The idea is to use Perl, Apache and
oracle. The oracle db will contain fields about visitors such
as id and password (after registration), and also topics, links, and
keywords to the various pages in the site.
The user will need to login to the site (using PERL) where a session
will be created so that the visitor may surf the site with the same
id. On each visit to a page the db will be updated by adding to the
number of visits of that user and recording the date and time (this
again should be done with PERL).
Using the recorded info the webpage should be able to adapt itself to
the user on the next visit (eg. it will recognise the id, check the
previous visiting date from the db and go to the last page visited.
Using the keywords in the db, the system should suggest pages that
could be of interest based on previous visits.
The idea is similar to some commercial sites such as yahoo (which
creates sessions using logiin id and password) and Amazon (which
suggests, books that might be of interest based on visitors search
topics).
So far I have designed the simple structure of the site with several
pages of info. the Oracle database is up and running. I have also
managed to write a couple of simple Perl scripts which read info from
a form and updates the db (eg adding new visitors), and also to
retrieve data from the db. But I couldn't get any further due to lack
of experience with Perl.
Can anyone point me in the right direction on:
1) how to create sessions in Perl.
2) how to record the number of visits and date and time in the
database
3) how to make suggestions to the user based on the above mentioned
info.
I appretiate your help in this.
Best regards
Siamak Hashemi
|