Index: /WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py	(revision 5561)
+++ /WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py	(revision 5562)
@@ -5,5 +5,5 @@
 ##bind script=script
 ##bind subpath=traverse_subpath
-##parameters=
+##parameters=entry_session=''
 ##title=
 ##
@@ -22,5 +22,4 @@
     return
 
-entry_session = '07'   # is been overwritten in admitOneStudent
 pin_password = False
 
@@ -38,5 +37,8 @@
     response.write("%s<br>\n\r" % s)
 
-brains = aq_applicants(In('status',('admitted'),))
+if not entry_session:
+    entry_session  = context.getSessionId()[0]
+
+brains = aq_applicants(In('status',('admitted'),) , Eq('entry_session',entry_session))
 total = len(brains)
 logger.info("found %d students" % (total))
