SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    welcoming user based on login

    I am new to php and have created a login page. I would like to welcome the user based on their login. Can someone help me out or point me to a tutorial? I have looked around but really have found a solution.

    Thanks

  2. #2
    SitePoint Enthusiast Wuiqed's Avatar
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Exactly what do you mean with "based on their login"? Based on the name they log in with? Based on the time? Or what?

  3. #3
    SitePoint Addict
    Join Date
    Jun 2005
    Posts
    262
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After the user logs in you can store the username in a cookie or session var. When the user logs out, delete the var.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •