Log in script

They have: 2 posts

Joined: Nov 2000

Hi there my name is Rick, and I was wondering if someone could help me please.
I want to create a login page which will login in my members, i want them to be able to choose their own icon, and for the script to use cookies so that my webpage will recognise them, and print their username and their icon at the top of each page. When that user logs out I want that icon to disappear.
Please Help.
Rick

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Hello Rick, and welcome to TWF!

Do you want the username and icon to be visible to everyone online at that time? If so this needs to be done server-side.

If you only want this to be display for that specific user, you can do this client side (JavaScript).

Mark Hensler
If there is no answer on Google, then there is no question.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

brain fart.. I'm assuming your gong to do this server side with perl... because this is a perl forum, duh!

Well, I could maybe do this with another language, but I'm afraid I've never used a DB with perl, and I don't think flat file DB would be good here. Also, I don't know how to tell if a user is still connected in perl.

Sorry I can't help, Good Luck.

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.