Question about landing page cookie problem??

Discussion in 'HTML & Website Design' started by Buckyuk, Jun 30, 2009.

  1. #1
    Hi,
    I was wondering if there are any web design experts out there that can help me with a small problem, well... it might not even be that difficult, but it is if you dont know it.

    Anyway...
    I have a sales landing page for my business... http://myinternetbusinessexplained.com

    which, once someone has opted into my mailing list using the aweber form, they are redirected to my welcome page... http://myinternetbusinessexplained.com/welcome.html

    What i want to do is... if someone has already landed on my page and entered their details to subscribe tomy mailing list...then the next time they visit, they are automatically redirected to my welcome page,instead of having to enter their details again.

    Can anyone out there help me with this??
    Much appreciated.

    Thanks,
    Alan
     
    Buckyuk, Jun 30, 2009 IP
  2. xira

    xira Active Member

    Messages:
    315
    Likes Received:
    8
    Best Answers:
    4
    Trophy Points:
    68
    #2
    Given my PHP isn't "expert" but I believe its a cookie issue. All cookies have timers, and the default is for the internet session. You need to reset the cookie for a few days (or forever). When a registered user enters your site the index.php will verify the cookie, which should still be active. Then you can set up code to redirect them, create a welcome or whatever you want. Cheers
     
    xira, Jun 30, 2009 IP
  3. Buckyuk

    Buckyuk Active Member

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Yeah i figured i just need to set up some kind of cookie... but my knowledge in this is limited, if not zero. :confused:

    Thats what im asking... How do i set up this cookie and redirect??

    Any ideas?
     
    Buckyuk, Jun 30, 2009 IP