View · Index

Retrieve context through package object

# # # # # # # # # # # # # # # # # # # # # # # # 
# Accessing connection context through package
# ::$package_id is available after and in the 
# scope of a ::xo::Package->initialize call.

set connectionContext [::$package_id context]

append html "<li><span>user</span>=[$connectionContext user_id]</li>"
append html "<li><span>package_url</span>=[$connectionContext url]</li>"