Announcement

Collapse
No announcement yet.

redirecting to a named html page after logging in via ssl

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

    redirecting to a named html page after logging in via ssl

    From the knowledgebase http://knowledge.actinic.com/users/k...dmin/acatalog/

    Is it possible to re-direct a successful login to another page, other than catalogbody.html?

    (reply)
    Yes, use a link like this for your login page, substituting 'Office_Furniture.html' for the section page you want your customers to go to after logging in:

    http://server/cgi-bin/ss000001.pl?SE...Furniture.html

    Customers will first be shown the login page, and once they have logged in they will go to their required section.
    this works absolutely 100%....until you are logging in via SSL and then you are returned to the main /acatalog/index.html page ?

    if anyone can offer a quick fix id be indebted , its had me cursing all day now ...

    steve quinn
    harlequin domains
    www.harlequindomains.com
    0800 0832077
    Actinic Design, Hosting and Marketing

    #2
    examples of the problem

    hi again, still here trying to figure this out so i have uploaded a version of each site, 1 using ssl and 1 without.

    The one WITHOUT ssl, i.e. the one that works fine is at http://www.dev2.actinichosts.net/aca..._Products.html .

    The one WITH ssl, i.e the one that doesnt work is at http://www.dev3.actinichosts.net/aca..._Products.html .

    Actually, this is the link that logging in with ssl is giving (i have replaced longs strings of confidential numbers with ;nnnnn')

    dev3.actinichosts.net/cgi-bin/bb000001.pl?challengeout=3nnnnna&USER=test&challenge=8nnnnn3&PASS=&ACTINIC_REFERRER=http%3a%2f%2fwww%2edev3%2eactinichosts%2enet%2facatalog%2findex%2ehtml&HASH=3nnnnn8&SSLBOUNCE=&RANDOM=NETQUOTEVAR%3aRANDOM&

    which as you can see in the ACTINIC_REFERRER= bit is clearly bringing me to /acatalog/index.html NOT NOT NOT the page i need to get to ....

    i have tried to put some notes on the two sites above to help anyone kind enough to have a look into it, and for anyone really brave, the two snapshots are available, just email me and i will send a link to download them.

    both sites are totally clean standard actinic sites with nothing changed except the description in 1 product... and both are v6.1.3 running on a win2k server.

    thanks in advance..

    steve q
    harlequin domains
    www.harlequindomains.com
    0800 0832077
    Actinic Design, Hosting and Website Marketing

    Comment


      #3
      I'll state what you may already know. The page you want to get back to is getting lost when it bounces to the shared SSL. I bet it would work if you had a site SSL. securedservers.co.uk will not be able to get to the cookie set by dev3.actinichosts.net, so the associated data will not be available. It cannot match the .session files.
      Bob Ladden

      Comment


        #4
        hi bob

        i tried a dedicated ssl and got the same result

        Comment


          #5
          I assume that your dedicated SSL did not have the bounce. It is the bounce that is losing the information. The non-ssl had no bounce.
          Bob Ladden

          Comment


            #6
            http://www.securedservers.co.uk/acat..._Products.html is the one with its own ssl

            i have tried it with a bounce (5 seconds as standard) and without (0 seconds)



            still no joy..

            steve

            ps, should your post above

            I assume that your dedicated SSL did not have the bounce. It is the bounce that is losing the information. The non-ssl had no bounce.


            read,

            I assume that your dedicated SSL DID have the bounce. It is the bounce that is losing the information. The non-ssl had no bounce.

            ?

            Comment


              #7
              There is no bounce or redirection with your non-SSL. Both your SSL tests are redirecting. There really is no reason for the dedicated SSL to redirect. The click here to login link should go direct to SSL. I don't know if you can convince Actinic to do that. It is treating the decicated SSL as a shared SSL.
              Bob Ladden

              Comment


                #8
                Actinic ?

                can you help at all, this is holding up a massive website from being handed over/finished..

                i would almost promise anything to get this to work.....

                steve

                Comment


                  #9
                  Hi Steve

                  I have forward this thread to our developers. I believe this is a simple perl script change on the SSL part, but i would like to be sure first.

                  When i found the answer, i will post the answer here straightaway

                  Kind Regards
                  Nadeem Rasool
                  SellerDeck Development

                  Comment


                    #10
                    thanks nadeem

                    it would really help me if you can sort this in the next five mins...

                    Comment


                      #11
                      Hi there

                      Found out some information, looks like it a bug that is scheduled to be fixed in 6.1.5 patch release.

                      Here is how to fix it:

                      The customer will also need to edit the login template,
                      Act_LoginPage.html:-

                      The top of the page should look like...

                      ------------------8<-----------------
                      <!-- LoginPage HTML begin -->
                      <SCRIPT LANGUAGE=JavaScript>
                      <!-- Start script -----
                      NETQUOTEVAR:SSLBOUNCE
                      ------------------>8-----------------

                      Change this to...

                      ------------------8<-----------------
                      <!-- LoginPage HTML begin -->
                      <!-- NETQUOTEVAR:SSLBOUNCE -->
                      <SCRIPT LANGUAGE=JavaScript>
                      <!-- Start script -----
                      if (location.protocol == "http:")
                      {
                      var sURL="SSLCGIURL/ss000001.pl?SECTIONID=NETQUOTEVAR:SSTARGET";
                      location.replace(sURL);
                      }
                      ------------------>8-----------------

                      Replacing SSLCGIURL with the SSL CGI-BIN URL from the customers Network
                      Setup and 000001 with the customers CGI Script ID.

                      e.g.
                      sURL="https://actinic.com/cgi-bin/ss000999.pl?SECTIONID=NETQUOTEVAR:SSTARG
                      ET";
                      Kind Regards
                      Nadeem Rasool
                      SellerDeck Development

                      Comment


                        #12
                        no joy im afraid

                        hi nadeem, thanks for your help but its not working for me yet

                        if you go to http://www.securedservers.co.uk/acat..._Products.html

                        and click the first link you will see what happens

                        it seems the NETQUOTEVAR:SSTARGET is not being replaced by anything


                        if you like i will send the three snapshots to support .. 1 with no ssl, 1 with shared ssl, and 1 with dedicated ssl.

                        thanks.

                        steve

                        Comment


                          #13
                          if you look at the third link on there

                          it goes to https://www.securedservers.co.uk/cgi..._Products.html which is what your one appears to be trying to do (if the NETQUOTEVAR:SSTARGET was replaced correctly), but even that doesnt work

                          also, you can try seeing the first page on ssl https://www.securedservers.co.uk/aca..._Products.html , and clicking the links .... always back to the front of the catalog..


                          thanks,

                          steve q

                          Comment


                            #14
                            Hi Steve

                            Attach to this thread, is a modified searchscript.pl which is also causing the issue. Please place this within your site folder, and reupload.

                            It should sort out the issue

                            Kind Regards
                            Attached Files
                            Nadeem Rasool
                            SellerDeck Development

                            Comment


                              #15
                              thanks a million guys

                              what other forum, i say, what other forum do you get service and friendliness like this....

                              nice one guys..


                              best,

                              steve q

                              Comment

                              Working...
                              X