From: Anders S. Mortensen Date: Fri, 29 Dec 2006 10:18:38 +0000 (+0000) Subject: Unescaping session before comparing. X-Git-Tag: before.append.child~66 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=9b1e55f18c5759cd38587626ef7150ad4f903b7f;p=pazpar2-moved-to-github.git Unescaping session before comparing. --- diff --git a/www/test1/index.html b/www/test1/index.html index 88d39be..f273f66 100644 --- a/www/test1/index.html +++ b/www/test1/index.html @@ -365,7 +365,7 @@ function update_history () { var session = session_encode(); session_store(session); - old_session= session; + old_session = session; } @@ -375,7 +375,7 @@ function session_check () clearInterval(url_surveillence); - if ( session != old_session ) + if ( session != unescape(old_session) ) { session_restore(session); start_search();