source: cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.site/site/scripts/main.js @ 3097

Last change on this file since 3097 was 3097, checked in by mwindhouwer, 11 years ago
  • added top level etc/system/LogConfig.xml, which will put SCHEMAcat log messages in log/schemacat-*.log
  • org.basex.rest has its own BaseX NK log, i.e., log/basex-*.log

*.dpml:

  • disabled debugging and profiling

main.js:

  • javascript to set a session cookie
File size: 250 bytes
Line 
1$("#login").click(function() {
2    var login = $("#loginUser").val();
3    alert("Now set the user cookie to ["+login+"], reload (some of) the page content and close the modal.");
4    document.cookie="USER="+login+";domain=.localhost:8080;path=/";
5});
Note: See TracBrowser for help on using the repository browser.