Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5

Thread: Refresh

  1. #1
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

    Default Refresh

    I remember someone here once had a page, and if you refreshed it 3 times the page changed...

    For example:
    Refresh Page 1, 3 times, and get Page 2.

    I was wondering how this was done?

    Thanks.


  2. #2
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    You could use cookies which expire in 1 hour if not used.

    So on page view, it adds 1 to the current cookie, if the number is 3+ then it will display a different page

  3. #3
    Join Date
    Jul 2008
    Location
    Hastings, UK.
    Posts
    2,050
    Tokens
    0

    Latest Awards:

    Default

    Refferer?

    And it was Tom743.

  4. #4
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    Log the IP to mysql database, if the row count of rows with the ip in is 3, it changes the page. Clears all rows with that IP on the time when it changes the page.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  5. #5
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    Quote Originally Posted by Calon View Post
    Refferer?

    And it was Tom743.
    Actually, it was done first by Luckyrare AFAIK.

    http://www.habboxforum.com/showpost....8&postcount=27
    http://www.habboxforum.com/showthread.php?t=431371

    Should help, a simple search brings that up

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •