Changeset 32716
- Timestamp:
- 2018-12-19T14:14:46+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/LibraryServlet.java
r32447 r32716 549 549 String document = getFirstParam(GSParams.DOCUMENT, queryMap); 550 550 String service = getFirstParam(GSParams.SERVICE, queryMap); 551 String specified_cache_key = getFirstParam(GSParams.CACHE_KEY, queryMap); 551 552 552 553 // We clean up the cache session_ids_table if system … … 604 605 605 606 // cache_key is the collection name, or service name 606 String cache_key = collection;607 String cache_key = specified_cache_key; 607 608 if (cache_key == null || cache_key.equals("")) 609 { 610 cache_key = collection; 611 } 612 if (cache_key == null || cache_key.equals("")) 608 613 { 609 614 cache_key = service; 610 615 } 611 616 612 617 // logger.info("should_cache= " + should_cache); 613 618 … … 634 639 session_cache = session_ids_table.get(sid); 635 640 param_table = session_cache.getParamsTable(); 636 logger.info("collections in table: " + tableToString(param_table));637 641 if (param_table.containsKey(cache_key)) 638 642 {
Note:
See TracChangeset
for help on using the changeset viewer.