Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why so many cookies?

 
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How many cookies does javaranch set for each user? It seems its like around 6 almost. Why so many? what are they for?
Im speaking from the point of someone who is a student of servlets and JSP.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The saloon software is a hybrid of ancient perl scripts (a commercial product purchased long ago), new perl modifications by us, and several Java servlets by us (Ulf really) that have been added on for new or improved functions. Only one of those cookies is used by the Java servlets; the rest are used by the ancient perl scripts. I really don't know what most of them do; thus far there hasn't been much reason to care. Generally we try not to mess with the ancient perl scripts unless there's some concrete benefit to doing so, since it's apt to break in various unexpected ways. So I've pretty much left those cookies alone, aside from adding one for Ulf's servlets. (Adding one was much easier than studying how an existing cookie was being used and how it would react if we modified it.) For a student of servlets and JSP, I would recommend ignoring the cookies set by our software entirely. They're part of a much older legacy system.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yummmmm. I love cookies.Let them be there.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What the?? I didn't know the ranch had a cookie cutter lying around.
 
Arvind Mahendra
Ranch Hand
Posts: 1162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jim Yingst:
The saloon software is a hybrid of ancient perl scripts (a commercial product purchased long ago), new perl modifications by us, and several Java servlets by us (Ulf really) that have been added on for new or improved functions. Only one of those cookies is used by the Java servlets; the rest are used by the ancient perl scripts. I really don't know what most of them do; thus far there hasn't been much reason to care. Generally we try not to mess with the ancient perl scripts unless there's some concrete benefit to doing so, since it's apt to break in various unexpected ways. So I've pretty much left those cookies alone, aside from adding one for Ulf's servlets. (Adding one was much easier than studying how an existing cookie was being used and how it would react if we modified it.) For a student of servlets and JSP, I would recommend ignoring the cookies set by our software entirely. They're part of a much older legacy system.



thanks Jim for the clarification. One last question (I promise) if this is a Perl based application how are you being able to run it on Tomcat? Is that natively supported?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

if this is a Perl based application how are you being able to run it on Tomcat? Is that natively supported?



Where did you get the impression that it runs on Tomcat? The Saloon runs on Apache, while the other (Java-enabled) subdomains use Orion or Tomcat. You can see this in the HTTP "Server" header.
 
reply
    Bookmark Topic Watch Topic
  • New Topic