RockinPurdy Posted March 2, 2008 Share Posted March 2, 2008 Hey, I have a session variable ($_SESSION['variable']) and I have it set to false by default, however I want to be able to set it to true after 10 seconds of the page loading. Is this possible.. if so how? Quote Link to comment Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 Is this possible.. No. PHP has no concept of time. Quote Link to comment Share on other sites More sharing options...
RockinPurdy Posted March 2, 2008 Author Share Posted March 2, 2008 Is there anyway to use javascript to initialize some php code to accomplish this? Quote Link to comment Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 Can't see why not, but that would be an ajax question. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.