Announcement

Collapse
No announcement yet.

LOGOUT Issues

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

    LOGOUT Issues

    Can anyone help me? I have been searching the forum for two days and feel like I have tried everything. I am out of things to try.

    The site is:
    http://www.arcbs-promo.com/
    user name: teri@inkwellusa.com
    psswd: test

    My customer does not want unregistered customers on the site, so you must LOGIN to buy something. That aspect is working. When you LOGOUT it actually looks like you LOGOUT but you don't. I am using the code for the logout buttton as:
    <a href="<Actinic:Variable Name="WebSiteURL"/>"cgi-bin/bb000001.pl?ACTION=LOGOUT">

    I have tried to hardcode the link to the logout button as:
    <a href="http://www.arcbs-promo.com/cgi-bin/bb000001.pl?ACTION=LOGOUT">

    but that does not work either. Any suggestions?

    #2
    WOW, 2 days searching is that like 16 hours or so? man you're patient.

    I use:

    Code:
    <a href="http://www.arcbs-promo.com/cgi-bin/bb000001.pl?ACTION=LOGOUT">LOG OUT</a>
    and it's always been fine. Also available off the very first search result if i put 'LOGOUT' into the search too, so you really did waste 2 days.

    It doesn't look like you've completed the <a> tag correctly.

    Comment


      #3
      That code is what I have. just didn't put the rest of the string on my post. The code seems to work, it just doesn't actually LOGOUT. I must be missing some other code.

      Comment


        #4
        I went it and put in your code, just to double check. The link takes me to...
        http://www.arcbs-promo.com/acatalog/...com/index.html

        A double link. If i can get it to not double I think it would work. Any ideas. I appreciate your help.

        This is the head section of my primary template.
        <head>
        <title><actinic:variable name="PageTitle" /></title>

        <actinic:variable name="BaseHref" />

        <actinic:variable name="MetaTags" />

        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsP3PPolicyUsed%22%20%2f%3e"><link rel="P3Pv1" href="<actinic:variable name="P3PFullPolicyLink" />"></actinic:block>

        <link href="actinic.css" rel="stylesheet" type="text/css">

        <actinic:variable name="JavaScriptFunctions" />
        <script type="text/javascript">
        function testkey(ev){
        return ((ev.which ? ev.which : ev.keyCode) != '13');
        }

        function tellfriend(anc, pname){
        var friend = document.getElementById('tell-' + anc);
        var thisloc=location.href.replace(/%23/g, '#');
        if (thisloc.indexOf('#') == -1) // no anchor so add one in
        {
        thisloc += '#' + anc;
        }
        else // replace existing anchor with our own
        {
        thisloc = thisloc.replace(/#.*/, '#' + anc)
        }
        if (friend.value != '') {
        location.href = 'mailto:' + friend.value + '?subject=' + escape('Red Cross Blood Services Promotional Item ') + pname
        + '&body=' + escape('I would like to order this item at the following link: ' + thisloc + ' . \r\n My Region is:\r\n The quantity would be:\r\n Price:\r\n Account Code:\r\n Shipping Address:\r\n Shipping Attn:\r\n Shipping Street:\r\n Shipping Town, State, and Zip Code:\r\n In-hands date:\r\n Inscription (applicable for awards only)');
        }
        }
        </script>
        </head>

        Comment


          #5
          The double link looks like the basehref is getting involved, can you show a screenshot of what and where you are putting it. For the link to show on page, it would need to be between the <body> tags so not sure what the code from the <head> area of your site has been included for, suffice to say it definitely doesn't go inside any of that code.

          Comment


            #6
            Ok,
            here is a snapshot. Thank Your for your help.
            Teri
            Attached Files

            Comment


              #7
              Are you saying it's on that image, if so i can't see it, you have a couple of cgi-bin links where you are also doing ../ again no need for that either. Study one of the standard actinic themes and see how the links are formed, you're introducing methods fraught with problems and with no tangible benefit. Get back to standard actinic setup.

              Comment


                #8
                I am using the code for the logout buttton as:
                <a href="<Actinic:Variable Name="WebSiteURL"/>"cgi-bin/bb000001.pl?ACTION=LOGOUT">
                Typo in the above. Spurious " which I've marked in red.

                Also, WebSiteURL is the wrong variable. That generates HTML like http://www.mysite.com/index.html which is where you will have been going instead of logging out.

                Try:
                Code:
                <a href="<Actinic:Variable Name="CgiUrl"/>bb000001.pl?ACTION=LOGOUT">
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Thanks Norman,

                  I put in the code but for some reason it takes me too..
                  http://www.arcbs-promo.com/acatalog/...com/index.html

                  I tried reverting back to standard code, didn't work. I am wondering if this is happening because my login link is hardcoded? Everything else on the site seems to work fine. Just this logout.

                  Comment


                    #10
                    Thank you both for all your help. With your advice I was ablto fix the problem. Norman your code for the LOGOUT worked perfectly, thank you thank you. I fixed my double URL by ticking "remove custom frame" in design themes!

                    Comment

                    Working...
                    X