source: WAeUP_SRP/trunk/skins/waeup_default/getSessionId.py @ 17952

Last change on this file since 17952 was 2653, checked in by Henrik Bettermann, 17 years ago

rename sessions_voc.py

  • Property svn:keywords set to Id
File size: 360 bytes
RevLine 
[1440]1## Script (Python) "getSessionId"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=
8##title=
9##
10# $Id: getSessionId.py 2653 2007-11-14 17:49:39Z henrik $
11"""
[2653]12return the Portal Session Id
[1440]13"""
[1764]14
[2454]15session_id = context.portal_properties.session[2:4]
16session_str = context.portal_properties.session
17
18return [session_id, session_str]
Note: See TracBrowser for help on using the repository browser.