Created By
DMG Development
As Seen On

Main Page  |  Forums  |  Register  |  Active Topics  |  Members  |  Search

 
Username:
Password:
DMG Forums >> DMG Forums Discussion >> General Discussion >> Writing out session variables in HTML
Writing out session variables in HTML
Author Topic
jp


Beginner

Join Date: 3/2/2009
Posts: 15

Posted: 3/10/2009 10:22:22 PM

Hi,

Is there any way to write out some Session Variables in the HTML that is in the custom HTML fields (like the HTML that occurs BEFORE the body, and the HTML that occurs AFTER the body) ??

Thanks

grimmeissen


Administrator


Join Date: 8/30/2005
Posts: 656
Location: Cincinnati, Ohio

Posted: 3/11/2009 11:31:30 PM

The only way to do it would be to add your own DMG Admin Code in the source. For example, you could make [SessionVariableA] call a function in the code that returns the value of SessionVariableA.

To see how these variables are created, take a look at Global.vb in the CustomHTMLVariables section to see how the default ones are done.
jp


Beginner

Join Date: 3/2/2009
Posts: 15

Posted: 3/11/2009 11:38:52 PM

Thanks, I'll check it out. You've been very helpful the last couple of weeks... I appreciate it.


  Copyright DMG Development DMG Forums 3.2