Hello, I'd like my site to be a little more personal by changing the 'Welcome' message to 'Welcome Back' if it's not a visitors first time on the site.
All the scripts I've found ask the users name to display it next time, which I feel is naff and intrusive.
Can anyone help?
Thanks for reading!
le_gber
2:19 pm on May 17, 2007 (gmt 0)
all you need to do is create a javascript cookie when they first arrive on your site, and then check if the cookie exists to see if they've been there already.
A google search fo "javascript cookies welcome message" (without quote) should turn up a simple tutorial where you can just remove the username request part.