Get help. Give help. A Web Design and Development Community.

Check Session variable after every 2 sec.

  • # July 15, 2012 at 4:21 am

    i want to check my login session variable after every 2 sec. can anybody help me out.

    # July 25, 2012 at 9:58 pm

    This reply has been reported for inappropriate content.

    function checkme(){

    setInterval(checkme, 2000);
    # July 25, 2012 at 11:06 pm

    Assuming you’re talking about the php $_SESSION variable, you’d do what elneco said, but you’d have to ajax a separate php file and return the session information.

    # August 13, 2012 at 10:01 pm

    thanks sir i got it

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

We have a pretty good* newsletter.