Announcement

Collapse
No announcement yet.

Help - how can I determine if a customer is looged into a site

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help - how can I determine if a customer is looged into a site

    Hi - when a customer logs into a actinic site via a login page, is there a way of determining they are logged on.

    Does actinic use a cookie for this?

    I want to be able to show a logged-in customer pages on the site that are not part of actinic.

    TIA
    Regards
    David

    #2
    Hi David

    When a client is logged in, then when they browse the site, they are running the bb000xx.pl script. This happens througout the whole catalog site.

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Look in the Advanced Guide for "<Actinic:NOTINB2B>".

      This is a tag ( inconjunction with its closing tag "</Actinic:NOTINB2B>" that you can use to surround code that's not to be shown to non-business customers.

      Here's an example of me using it to set a javaScript variable that I can then consult elsewhere in the page.

      <script language=JavaScript>var LoggedIn = true;</script>
      <Actinic:NOTINB2B>
      <script language=JavaScript>var LoggedIn = false;</script>
      </Actinic:NOTINB2B>


      Norman
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks Norman - as usual spot on.
        Regards
        David

        Comment

        Working...
        X