Forum Moderators: open

Message Too Old, No Replies

'Welcome Back' Message

         

Fiasst

1:34 pm on May 17, 2007 (gmt 0)

10+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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.

rocknbil

7:07 pm on May 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard Fiasst (sorry for the pun . . . ) Check out the "W" section of this legacy document too [kbs.cs.tu-berlin.de].