Buying Need help with redirect script

Discussion in 'Programming' started by adamjblakey, Sep 12, 2012.

  1. #1
    Hi,

    I have a script here: http://www.devicedetect.co/redirect.js.php

    Which is working fine however there is an issue with it. Basically how it works is that i include the script in a main site like so:

    <script type="text/javascript" src="http://www.devicedetect.co/redirect2.js.php?url=http://www.getyourmobi.mobi"></script>
    
    Code (markup):
    Which basically detects if using a smart phone and redirects to the mobi site indicated in the url=

    This is working fine and redirects. When on the mobi site i have a full website button which you can see if you go to http://www.getyourmobi.mobi. When i press this it takes me back to the main site with ?redirect=false at the end so the script knows that the user wants to go back to the main site. This then should set a cookie that lasts for 10 minutes. However this is lasting a lot longer than 10 mins, e.g. several hours.

    I need the script altering so that it only lasts 10 minutes. Please can someone help alter this.

    Need this doing urgently.

    Regards,
    Adam
     
    adamjblakey, Sep 12, 2012 IP
  2. Arttu

    Arttu Member

    Messages:
    139
    Likes Received:
    2
    Best Answers:
    8
    Trophy Points:
    40
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #2
    Do you own the rights to that script?
     
    Arttu, Sep 12, 2012 IP
  3. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #3
    I have a solution for you, sent you a PM, kindly check your Inbox.
     
    edduvs, Sep 12, 2012 IP
  4. cesurasean

    cesurasean Active Member

    Messages:
    269
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    80
    As Seller:
    100% - 1
    As Buyer:
    100% - 0
    #4
    Hi! I am interested. I am located in the United States. My skype is "cesurasean".

    Thank you,
    Sean Brady
     
    cesurasean, Sep 15, 2012 IP