Global variables, affinity, and sessions w/o cookies,
Altec <[email protected]> Sat, 10 Jul 2004 16:20:43 -0500
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks for mod_ruby 1.20. It's great! I have several questions (some might consider feature requests): 1. Is it possible to set a global variable that is consistent across all Apache processes? I realized that I have 5 different global variables of the exact same name (a simple counter) because I have 5 Apache processes that appear to have their own mod_ruby instance. 2. Is it possible to set server/browser "affinity" so that whenever possible, the same client accesses the same Apache process repeatedly instead of round-robin? Something like "wait", "error" or "use-any" as options in case the same process isn't immediately available. If this isn't available with mod_ruby, do you know if there are Apache mods that enable affinity? 3. We're designing a dynamic site using mod_ruby + eruby that supports browsers without javascript or cookies. Do you recommend any particular method, library or tools to handle sessions? I'm guessing url-rewriting. Would appreciate your thoughts & recommendations. Thanks again for giving us mod_ruby and eruby!