NetTalk Central

Author Topic: Displaying some variable in header  (Read 5547 times)

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Displaying some variable in header
« on: September 03, 2010, 02:11:03 AM »
I have one global variable for displaying current version of the app. Where to put this variable that I get with p_web.SetSessionValue('Version_1',glo:version) to display session value 'Version_1' on pageheader (headingplain)?
Regards, Ozren.

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Displaying some variable in header
« Reply #1 on: September 03, 2010, 02:59:17 AM »
Ok, closing thread, didnt read post behind this.  ::)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Displaying some variable in header
« Reply #2 on: April 27, 2011, 03:10:19 AM »
Anyone know what post Oggy was referring to?
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11307
    • View Profile
Re: Displaying some variable in header
« Reply #3 on: April 27, 2011, 04:48:38 AM »
I don't, but the tag he would use in the header is
<!-- Net:s:sessionvaluename -->
eg
<!-- Net:s:Version_1 -->

Cheers
Bruce

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Displaying some variable in header
« Reply #4 on: April 27, 2011, 11:10:17 AM »
Awesome!  Thanks Bruce!
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11