Hi:
The following is what I need to do:
After user login, I send a user id cookie to the client, then
in every html page, I use a SSI to include a perl file to retrieve the user id
from client, see wether he/she is O.K to access this html page or not. However, I
can't get cookie value by doing this. It seems to me only when use perl file as a CGI not a include,
then I can get cookie value. Is there a SAMPLE way to do this task? I am using CGI model.
The reason I am using a server side include is to protect the file in case someone direct access this
file by bookmarking or something like that. I know you can do this by configure the server, but this is
not the case to use server configuration since we have a user database.
Thanks