Templates are very useful for customizing VPASP's HTML pages and emails, but the format of the [...] tags used to insert data into the template is rather limited.
In particular, if you've integrated VPASP into a larger website, you may need to include information into the templates that comes from outside of VPASP.
One very easy way to do this is to put the required data into ASP session variables.
Then in shopfileio.asp, add the following line to the bottom of the ProcessKeyword subroutine, just before "end sub":
if Left(keyword,8)="SESSION(" and Right(keyword,1)=")" then value=Session(Mid(keyword,9,Len(keyword)-9)) : rc=0
This lets you include in templates tags like
[session(my_session_variable)]
which would display the contents of the ASP session variable
Session("my_session_variable")
If you think people might find this useful, you could include it in a future release!