SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    redirect cookie for returning user

    Hi all,

    I am currently building a site with a landing page. I would like to add a cookie or some kind of script that detects if the user is returning and skips the homepage to go straight into the site whenever they return.

    It would be good if I could apply this script to multiple pages with different names.

    Cookies are not my forte so I don't know where to start looking. Googling hasn't done much for me so far, can anyone point me in the direction of a page that explains how to do this?!

    Thanks for any help.

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you using any server side code? ie php, asp, asp.net etc?

    It would be alot easier to do this via your server side code as if the user doesn't have javascript enabled, its all pointless.



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
  •