demophoon88 Posted August 23, 2007 Share Posted August 23, 2007 Erm. I'm still learning php right now. i am able to build simple database system on my website when i happened to learn about the log-in system. I used php sessions on my website and it functioned completely but when i view it to another computer, even simple session page counter wouldn't work. when i copied the code(the page counter) to another php document webpage then opened it on my browser, it would work. Should i place a code on my pages that would delete something on the server other than session_destroy? Quote Link to comment Share on other sites More sharing options...
frost Posted August 23, 2007 Share Posted August 23, 2007 Can you post some of your code? Quote Link to comment Share on other sites More sharing options...
Fjerpje Posted August 23, 2007 Share Posted August 23, 2007 Keep in mind that session are for your PC only. I do not know how you wrote your code so please post it. Quote Link to comment Share on other sites More sharing options...
Jessica Posted August 23, 2007 Share Posted August 23, 2007 Sessions are also affected by if the user has cookies enabled. Did the other computer have cookies enabled? If you wanted the changes (counting up I guess) you saw on your computer to be seen by other users, sessions is not what you'll use, you need to store the changes on your server. 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.