Last change
on this file since 10361 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 | """ |
---|
12 | return the Portal Session Id |
---|
13 | """ |
---|
14 | |
---|
15 | session_id = context.portal_properties.session[2:4] |
---|
16 | session_str = context.portal_properties.session |
---|
17 | |
---|
18 | return [session_id, session_str] |
---|
Note: See
TracBrowser for help on using the repository browser.