Announcement

Collapse
No announcement yet.

session id urls

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

    session id urls



    ------=_NextPart_000_000D_01C55B01.56FE2BC0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit

    Hello,

    I was having this problem a little earlier, and Chuck gave me some code to
    use, it just doesn't seem to be working for me.

    I made my own navbar, and to get the url for the account and checkout
    buttons to include the session id, Chuck told me to use %VAR(g.sessionurl)%
    to get it to appear in the url. I did that, and it's obviously recognizing
    it, because "%VAR(g.sessionurl)%Screen=LOGN&Order=0" points to
    http://127.0.0.1/Merchant2/merchant....n=LOGN&Order=0, there's just no
    session id. I activate my stock navbar, click on the same thing, and get
    http://127.0.0.1/Merchant2/merchant....8627e1ce2f38b6
    f05bd22&Screen=LOGN&Order=0.

    What am I doing wrong?

    Thanks in advance.

    KC

    ------=_NextPart_000_000D_01C55B01.56FE2BC0--

    #2
    session id urls



    For the checkout button try:
    <A
    HREF="%VAR(g.secure_sessionurl)%Screen=%IF(login)% OINF%ELSE%LOGN&Order
    =1%IFEND%">Checkout</A>

    Make sure you have %OUI% as the first characters of the text. You can find
    links for all the buttons here:

    <A HREF ="http://www.santafemall.com/INSTS/html/tokens.html">http://www.santafemall.com/INSTS/html/tokens.html</A>

    Luray M. Williams
    Santa Fe Mall, Inc.
    Miva Merchant Display Modules
    <A HREF ="http://www.santafemall.com">http://www.santafemall.com</A>
    [email protected]


    > Hello,
    >
    > I was having this problem a little earlier, and Chuck gave me some code to
    > use, it just doesn't seem to be working for me.
    >
    > I made my own navbar, and to get the url for the account and checkout
    > buttons to include the session id, Chuck told me to use
    > %VAR(g.sessionurl)%
    > to get it to appear in the url. I did that, and it's obviously
    > recognizing
    > it, because "%VAR(g.sessionurl)%Screen=LOGN&Order=0" points to
    > http://127.0.0.1/Merchant2/merchant....n=LOGN&Order=0, there's just
    > no
    > session id. I activate my stock navbar, click on the same thing, and get
    > http://127.0.0.1/Merchant2/merchant....8627e1ce2f38b6
    > f05bd22&Screen=LOGN&Order=0.
    >
    > What am I doing wrong?
    >
    > Thanks in advance.
    >
    > KC
    >


    Comment


      #3
      little OT - fulfillment center and XML



      Little OT ... but very interesting for store owners.

      Just talked to a fulfillment center which supports Miva Merchant stores
      almost out of the box. All you need is TruXoft's XML module (preconfigured
      for iFulfill) and you're ready to go.

      <A HREF ="http://www.ifulfill.com/services_what_you_get_for_free/index.php#orderentry ">http://www.ifulfill.com/services_wha...php#orderentry </A>
      (Scroll down to XML!)

      Those guys are incredible fast concerning service requests. I just had one
      and it was answered in a blink of an eye. Those guys are in fulfillment what
      Hostasaurus is for hosting.

      Andreas Toman
      PCINET, LLC
      Miva Development, Installation & Upgrade
      "E-commerce is the next step in the evolution ..."
      www.pcinet-llc.com




      Comment


        #4
        session id urls



        Hi KC,

        I just did my nav bar a couple weeks ago and had the same confusion. The
        urls that come from your nav bar links and the MIVA coded nav bar links will
        be different - just as you are seeing.

        When you want the user to go to a secure page, use the
        %VAR(g.secure_sessionurl)% and then the session id will show up in the url.
        When you use %VAR(g.sessionurl)% , the session id does not show up in the
        url (even though it says session in the token name) and you are on an
        unsecure page.

        So for the login, account, checkout pages use the
        VAR(g.secure_sessionurl)% - the url will show up with https: and the
        session id in it so you know you are on a secure page. For the basket and
        home page, etc. use the %VAR(g.sessionurl)% and the url will start with
        http: and have no session id in it. You are on an unsecure page.

        Using the MIVA nav bar - it is different. When you go to LOGN using the MIVA
        nav bar it shows a session id but no https: and no lock on your page. I
        don't know why this is, I'm sure someone else can explain that one. (I think
        it's better if you do you own links, since most users want to see the
        security lock when they are entering passwords.)

        I'm on a shared SSL certificate. If you aren't then I'm not sure how the
        urls are suppose to look, because I think I remember seeing somewhere that
        if you own your own certificate, you do the links differently.

        If you would like to click on the Wholesale Login and Basket links on my
        page, you can see how the urls show up.
        www.laurieevinger.com/Merchant2/merchant.mvc
        Here's their code:

        <a
        href="%VAR(g.secure_sessionurl)%Screen=%IF(NOTLOGI N)%LOGN%ELSE%ACNT%IFEND%"
        style="text-decoration: none">
        <font color="#FFFFFF">wholesale log in</font></a>

        <a href="%VAR(g.sessionurl)%Screen=BASK" style="text-decoration: none">
        <font color="#FFFFFF">basket</font></a>

        Hope that helped,
        Laurie



        Comment

        Working...
        X