028cc4b4e9679a5e38994fa2221cb73e88aa6616 galt Thu Jan 24 19:02:04 2013 -0800 set udc cache location early before cart and doMiddle if possible. Restoring saved sessions with bigDataUrl custom tracks was leaking to /tmp/udcCache instead of correct CGI location under trash. diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index d18fc54..2e083ba 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -5561,31 +5561,30 @@ #endif getDbAndGenome(cart, &database, &organism, oldVars); protDbName = hPdbFromGdb(database); debugTmp = cartUsualString(cart, "hgDebug", "off"); if(sameString(debugTmp, "on")) hgDebug = TRUE; else hgDebug = FALSE; if (hIsGisaidServer()) { validateGisaidUser(cart); } -setUdcCacheDir(); int timeout = cartUsualInt(cart, "udcTimeout", 300); if (udcCacheTimeout() < timeout) udcSetCacheTimeout(timeout); initTl(); char *configPageCall = cartCgiUsualString(cart, "hgTracksConfigPage", "notSet"); /* Do main display. */ if (cartUsualBoolean(cart, "hgt.trackImgOnly", FALSE)) { trackImgOnly = TRUE; ideogramToo = cartUsualBoolean(cart, "hgt.ideogramToo", FALSE); hideControls = TRUE;