Close

Results 1 to 3 of 3
  1. #1
    DF Rookie Stevo95's Avatar
    Join Date
    Oct 2009
    Location
    Liverpool
    Posts
    6
    Thanks
    0
    Thanked:        1
    Karma Level
    0

    Attention Need help with..

    right im becoming paranoid now..

    what it is that i cannot find the code on the net for this:

    I want to be able to login.. So once logged in I want a verify page to load up.. but i only want the verify page to load up for 3 secs or so the go the online page..

    If anybody knows the code please post below

    Thanks
    Stephen

  2. #2
    DF VIP Member stixson's Avatar
    Join Date
    Feb 2001
    Location
    UK
    Posts
    261
    Thanks
    2
    Thanked:        0
    Karma Level
    293

    Default Re: Need help with..

    Could you clarify?
    Do you want the code for all of the above?
    If you log in, is the password checked with a database, if so , access/mysql etc?
    Are you after the code in PHP, ASP etc ?
    I intend to live forever, or die trying.

  3. #3
    DF VIP Member Miraine's Avatar
    Join Date
    Nov 2009
    Location
    Rugby, England
    Posts
    137
    Thanks
    0
    Thanked:        0
    Karma Level
    201

    Default Re: Need help with..

    As Stixson says, there's a few more details that would be handy, but if you're simply talking web stuff, and you've already sorted the actual logging in phase and are looking for the 3 second display of a page, I would have thought you could just make an intermediate page that uses Javascript (setTimeout) to move on after the delay.

    Ok, I'm a newbie here, so not sure how this forum reacts to code... Let's see:

    Do your login checks and if successful, go to a page with this in the header
    Code:
    <script type="text/javascript">
    function redirect()
        {delay = setTimeout("window.location='nextpage.html'", 3000);}
    </script>
    And the body would be:
    Code:
    <body onload="redirect()">
    You have logged in successfully.
    </body>
    I'm sure with "if" statements this could be put all in one page, and just change the content dynamically, this is probably a clumsy solution but I'm only a learner myself

Social Networking 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
  •