Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have an HTML5/Javascript web site. There is a form which updates JSON data. There are other pages which I would like to load that JSON data dynamically. I know how to do this via Tomcat/JSP but I'd like to keep this site solely apache2. Is there a way to persist and read the JSON data? It is ok if the data is temporal and is lost upon an apache2 bounce.

share|improve this question
    
Any reason you can't use LocalStorage? –  Oded Jan 10 at 17:51
    
@Oded: I need to share the between different users in separate browsers. –  dacracot Jan 10 at 17:57
    
What do you mean you want to keep it 'solely' apache2? Apache by itself isnt going to do you much good without something for it to serve up. –  GrandmasterB Jan 10 at 18:03
    
Persistence between two clients requires a persistence mechanism on the server. The usual suspects apply: a SQL database, a file, a Key/Value store, etc. –  Robert Harvey Jan 10 at 18:25
    
@GrandmasterB: I would like to keep my server side architecture as apache2 only if possible, serving the content. Perhaps loading some additional mod to help with the persistence. –  dacracot Jan 10 at 18:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.