Changeset 1822 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
25 May 2007, 09:19:56 (18 years ago)
Author:
joachim
Message:

remove SESSION access from scripts, all in custom stopped the session conflict errors

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/create_level.py

    r1811 r1822  
    1818current = DateTime.DateTime()
    1919request = context.REQUEST
    20 session = request.SESSION
     20#session = request.SESSION
    2121response = request.RESPONSE
    2222redirect = response.redirect
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py

    r1783 r1822  
    2828aq_portal = context.portal_catalog.evalAdvancedQuery
    2929request = context.REQUEST
    30 session = request.SESSION
     30#session = request.SESSION
    3131response = request.RESPONSE
    3232
  • WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py

    r1657 r1822  
    2929current = DateTime.DateTime()
    3030request = context.REQUEST
    31 session = request.SESSION
     31#session = request.SESSION
    3232response = request.RESPONSE
    3333redirect = response.redirect
     
    107107            d['core_or_elective'] = getattr(c.getObject().getContent(),'core_or_elective')
    108108            course_result.getContent().edit(mapping=d)
    109 session.set('in_progress','finished')
     109#session.set('in_progress','finished')
    110110logger.info('%s updated course list' % member)
    111111
  • WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py

    r1737 r1822  
    2727app_doc = info['app_doc']
    2828review_state = info['review_state']
    29 session = REQUEST.SESSION
     29#session = REQUEST.SESSION
    3030res,psm,ds = lt.renderLayout(layout_id='student_clearance',
    3131                      schema_id= 'student_clearance',
     
    7272                                 info = info,
    7373                                 )
    74 session.set("clicked","clicked")
     74#session.set("clicked","clicked")
    7575pin = str(ds.get('clr_ac_pin'))
    7676logger.info('%s started clearance with pin %s' % (info['id'],pin))
  • WAeUP_SRP/trunk/skins/waeup_student/student_index.py

    r1785 r1822  
    1616
    1717request = context.REQUEST
    18 session = request.SESSION
     18#session = request.SESSION
    1919response = request.RESPONSE
    2020redirect = response.redirect
Note: See TracChangeset for help on using the changeset viewer.