tivrfoa Posted January 29, 2009 Share Posted January 29, 2009 Hello. I would like to know if it is possible to persist a value (don't lose a variable value) without use cookie, session, file and database. Like a counter to page's access, but without use the above options. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/142905-persist-a-variable-value/ Share on other sites More sharing options...
premiso Posted January 29, 2009 Share Posted January 29, 2009 You can send it via GET, but you would have to append each link with that value. As far as that, no I do not think it is possible. Quote Link to comment https://forums.phpfreaks.com/topic/142905-persist-a-variable-value/#findComment-749199 Share on other sites More sharing options...
corbin Posted January 29, 2009 Share Posted January 29, 2009 @OP, why oh why would you ever want to even attempt to do that? <3 a stateless protocol ;p. Quote Link to comment https://forums.phpfreaks.com/topic/142905-persist-a-variable-value/#findComment-749206 Share on other sites More sharing options...
tivrfoa Posted January 29, 2009 Author Share Posted January 29, 2009 thanks! I have a content that needs to be updated in each 3 seconds. What do you think is faster: use file or database? I think I'll use database, because I can use a persistent connection. Quote Link to comment https://forums.phpfreaks.com/topic/142905-persist-a-variable-value/#findComment-749940 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.