Announcement

Collapse
No announcement yet.

Login

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

    Login

    Can anyone explain to me the theory in making sure a customer stays logged in. I currently maintain about 10 non actinic pages of which about 5 are inside the acatalog directory and 5 are just above this directory. Each page has links into and out of the acatalog.

    So the question is what hard coded links should I use on each page when navigating in and out of the catalog to ensure the customer stays logged in regardless of what link they click on?

    Hope this makes sense! Oh and as an add on, can I display the logged in customers details on pages that are not actinic generated?

    Regards

    David
    Cheers

    David
    Located in Edinburgh UK

    http://twitter.com/mcfinster

    #2
    Makes perfect sense... I would like to know too. No luck so far, have tried a few things:

    http://community.actinic.com/showthr...3403#post43403

    DB

    Comment


      #3
      Yeah I saw that link, tried a few things and frankly got completely confused as some links worked and some did not!

      Dave
      Cheers

      David
      Located in Edinburgh UK

      http://twitter.com/mcfinster

      Comment


        #4
        It's one of those things that should be simple, but just isn't.

        Maybe there is a way of sending absolute links through the search script?

        Comment


          #5
          Yeah it's definately in the scripts but also seems to be very dependent on what your baseref is on the page you are linking to. From what I can gather this should be different depending on if the page is inside or outside the directory.

          Frankly it seems a little silly this being such an issue. Almost every Actinic site in the world must have links into and out of the catalog and not being able to keep people logged in basically negates the entire point of using customer accounts!

          Anyone from Actinic know perhaps?

          Dave
          Cheers

          David
          Located in Edinburgh UK

          http://twitter.com/mcfinster

          Comment


            #6
            The definitive answer is in the latest v7 Advanced User Guide pp 43-44. There are links for taking people to a page, and links for taking people to a product - and they do work, I have used them many times.

            Comment


              #7
              original message by cdicken
              The definitive answer is in the latest v7 Advanced User Guide pp 43-44. There are links for taking people to a page, and links for taking people to a product - and they do work, I have used them many times.
              Yeah but for some reason that doesn't give the desired effect regarding attached stylesheets. I could only get this to work by setting the basehref from pages above the acatalog folder as ...value="http://www.url.com/"/>

              Thread is here:

              http://community.actinic.com/showthread.php?t=9349

              Comment


                #8
                Surely if you hard code the links outside the acatalog folder for use by logged in customers then they will then effectively become usless to non registered customer. How do you differentiate between the two clear groups?

                Dave
                Cheers

                David
                Located in Edinburgh UK

                http://twitter.com/mcfinster

                Comment


                  #9
                  The links are just your typical relative types:

                  ../index.html

                  ../acatalog/page.html

                  etc.

                  Providing the basehref is correct, this works for logged-in users... for non-members, well they just see the relative links. Works both ways. What you have to bear in mind is that the stylesheet needs to be in your server's root folder and acatalog folder, because in Actinic the path must be "style.css" to avoid the "error generating pages" message.

                  Try it on a test page, should work.

                  Comment


                    #10
                    DB,

                    Cheers for all your help, finally got all the links working both in and out of the acatalog directory. however this has posed one new problem. I have a jump menu on each page and it would appear the Actinic will not read the relative links as normal links (presumably as it does not use the href tag) and logs out the user. Any suggestions on how to get this to work?

                    Dave
                    Cheers

                    David
                    Located in Edinburgh UK

                    http://twitter.com/mcfinster

                    Comment


                      #11
                      By 'jump menu', do you mean a drop-down list generated from the Actinic JavaScript section list code described in the advanced user guide?

                      These are normally good at creating the right sort of links to keep customers logged into the site. Do you have a URL I can look at?

                      Comment


                        #12
                        Chris,

                        The jump down menu is manually created in dreamweaver as the Actinic js creates all sections instead of just the ones I want customers to view.

                        The url is http://www.sportswarehouse.co.uk

                        Dave
                        Cheers

                        David
                        Located in Edinburgh UK

                        http://twitter.com/mcfinster

                        Comment


                          #13
                          I suggest editing the Dreamweaver settings to use the link format that goes via the Perl script (as described on pp43-44 of the latest Advanced User Guide). These links work equally well for both logged-in and non-logged in customers.

                          Comment


                            #14
                            Seems to work perfectly!

                            Thanks Chris
                            Cheers

                            David
                            Located in Edinburgh UK

                            http://twitter.com/mcfinster

                            Comment


                              #15
                              Glad you got this sorted.

                              Comment

                              Working...
                              X