Last change
on this file since 7541 was
2653,
checked in by Henrik Bettermann, 17 years ago
|
rename sessions_voc.py
|
-
Property svn:keywords set to
Id
|
File size:
360 bytes
|
Rev | Line | |
---|
[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] | 12 | return the Portal Session Id |
---|
[1440] | 13 | """ |
---|
[1764] | 14 | |
---|
[2454] | 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.