1 Reply Latest reply on Jul 17, 2007 4:42 AM by Günter Schenk

    Dynamic text

      Every time I try to use a dynamic text session. Like a user name. Nothing shows up its blank? I have another site that I did and it works fine?
        • 1. Re: Dynamic text
          Günter Schenk Level 4
          Hi,

          some questions:

          a) are you using PHP or another server model (e.g. CF)? Please always mention this to help someone provide an adequate solution.

          b) when you say "dynamic text session", does this mean you want to display a certain session variable like e.g. the "kt_login_user" variable defined in ADDT´s "Login Settings" ?

          Well, if it´s PHP and my assumption b) is true, you might want to add

          @session_start();

          somewhere within the generated PHP block at the page´s top.

          The general (and not related to ADDT) problem with making a page detect the session is :: ADDT´s forms and list always catch them well by default, but manually created PHP pages usually require you to add the "@session_start();" call in order to activate the session detection.

          Günter Schenk
          Adobe Community Expert, Dreamweaver