[Prelude Hybrid IDS] #231: java script refresh
"Prelude Hybrid IDS" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
#231: java script refresh ---------------------------------+------------------------------------------ Reporter: [email protected] | Owner: yoann Type: enhancement | Status: new Priority: normal | Milestone: Component: prewikka | Version: 0.9 Severity: normal | Keywords: refresh ---------------------------------+------------------------------------------ A java script based auto refresh would be a very usefull thing. the script is easy i was able to find an example of a java script auto refresh script and insert it into functions.js easily but 3 problem arrose when i did that. 1) if a user clicked on a link if it took longer for the page to load than the remaining time in the counter it would refresh the users current page rather than load the one they clicked on. as a side effech the queries against the database would keep going. 2) there was now way for the user to enable, disable or adjust the timeing of the auto refersh on the page. 3) this applies the auto refresh to all pages even the ones where it is not usefull. if we can add two variables readable by java script this could allow the use of such an auto refresh. 1) a simple refresh=(TRUE|FALSE) a variable to enable or disable the autorefresh. this could be turned of when a link is clicked, when a page should not use an auto refresh, of when the user has the option disabled 2) refreshtime=111111 a refresh time in seconds for the timer to count down this would requier some changes which could be roled in to the prewikka pages slowly over time also it would requier two new field added to the users preferences in the prewikka database in addition the javascript should also send a paramiter back to prewikka indicating not to update the user activity time so the time outs still work. this would also have a side effect of automaticaly redirecting the user to the logout page when their activity timer runs out rather than leaving the last viewed page vissible in the users browser. -- Ticket URL: <https://trac.prelude-ids.org/ticket/231> Prelude Hybrid IDS <http://www.prelude-ids.org> The Prelude Hybrid Intrusion Detection System suite _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel