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

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

rename sessions_voc.py

  • Property svn:keywords set to Id
File size: 360 bytes
Line 
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"""
12return the Portal Session Id
13"""
14
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.