User Name appears on all pages
Posted on 1997-12-05
I *think* this is a CGI question. From some responses I received on newsgroups, it can't be done in Java or in regular html.
I've seen some sites where after the user enters their name in a form then their name appears (nicely formatted) at the top of various subsequent pages.
Well, here's what "I" need.
1. The person arrives at index.htm. They are prompted for a five digit number. The person enters "1234". This sends the person to 1234.htm But at the same time, I need the numbers "1234" to be stored so that later, the numbers "1234" can appear anywhere on any subsequent page, anywhere I want them to.
2. Just to make sure my request is clear, when another person later arrives at index.htm, and they enter THEIR passnumber, which is "5678", they are sent to "5678.htm", and at the same time the number "5678" is stored, so it can be used on subsequent pages, anywhere I want them to.
Perhaps a cookie is involved, but there is no need for the cookie to remember the person's visit past once they leave the site.
Again, no other imput from the person other than those four numbers. No user name. Just those four numbers.
Thanks for any thoughts, suggestions -- and solutions!