Login Functionality and MOS

Former Member
Former Member $organization

We are developing a new web site and we are going to use the anonymous login so people can see their seats without logging in. For member prices and presales/promotions, the system switches the MOS after login so the customer has access to the better prices. The problem lies with failed logins. This is the process:

1. Buy a show and add to cart (as anonymous user)

2. Checkout

3. Login w/without promotion code

4. Switch MOS if applicable

The problem lies when a login fails. When that happens the API will throw an error and dump the contents of the cart and leaves the MOS as the default. When this happens the special price/discount or show is not available in the default MOS so it either dumps the cart or throws an error that the price type isn't available in the default MOS. Ideally we want it to allow another login if the login fails and not dump the cart.

Has anyone else run into this situation and do you have any suggestions?

 

Gloria

Parents
  • Hi Gloria,

    I think this would work... You could create a new session, do the login with the new session key, and then if the login is successful, transfer the cart from the previous session to the new one.

       -Morgan

  • Former Member
    Former Member $organization in reply to Morgan L'Argent (Past Member)

    But the problem lies where the login is not successful. That’s when it errors out and empties the cart. So creating a new session would empty the cart also, wouldn’t it?

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Morgan L'Argent
    Sent: Tuesday, December 08, 2009 12:17 PM
    To: Gloria Ormsby
    Subject: Re: [Tessitura Web Forum] Login Functionality and MOS

     

    Hi Gloria,

    I think this would work... You could create a new session, do the login with the new session key, and then if the login is successful, transfer the cart from the previous session to the new one.

       -Morgan

    From: Gloria Ormsby <bounce-gloriaormsby5026@tessituranetwork.com>
    Sent: 12/8/2009 8:23:27 AM

    We are developing a new web site and we are going to use the anonymous login so people can see their seats without logging in. For member prices and presales/promotions, the system switches the MOS after login so the customer has access to the better prices. The problem lies with failed logins. This is the process:

    1. Buy a show and add to cart (as anonymous user)

    2. Checkout

    3. Login w/without promotion code

    4. Switch MOS if applicable

    The problem lies when a login fails. When that happens the API will throw an error and dump the contents of the cart and leaves the MOS as the default. When this happens the special price/discount or show is not available in the default MOS so it either dumps the cart or throws an error that the price type isn't available in the default MOS. Ideally we want it to allow another login if the login fails and not dump the cart.

    Has anyone else run into this situation and do you have any suggestions?

     

    Gloria




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Reply
  • Former Member
    Former Member $organization in reply to Morgan L'Argent (Past Member)

    But the problem lies where the login is not successful. That’s when it errors out and empties the cart. So creating a new session would empty the cart also, wouldn’t it?

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Morgan L'Argent
    Sent: Tuesday, December 08, 2009 12:17 PM
    To: Gloria Ormsby
    Subject: Re: [Tessitura Web Forum] Login Functionality and MOS

     

    Hi Gloria,

    I think this would work... You could create a new session, do the login with the new session key, and then if the login is successful, transfer the cart from the previous session to the new one.

       -Morgan

    From: Gloria Ormsby <bounce-gloriaormsby5026@tessituranetwork.com>
    Sent: 12/8/2009 8:23:27 AM

    We are developing a new web site and we are going to use the anonymous login so people can see their seats without logging in. For member prices and presales/promotions, the system switches the MOS after login so the customer has access to the better prices. The problem lies with failed logins. This is the process:

    1. Buy a show and add to cart (as anonymous user)

    2. Checkout

    3. Login w/without promotion code

    4. Switch MOS if applicable

    The problem lies when a login fails. When that happens the API will throw an error and dump the contents of the cart and leaves the MOS as the default. When this happens the special price/discount or show is not available in the default MOS so it either dumps the cart or throws an error that the price type isn't available in the default MOS. Ideally we want it to allow another login if the login fails and not dump the cart.

    Has anyone else run into this situation and do you have any suggestions?

     

    Gloria




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

Children
  • But the problem lies where the login is not successful. That’s when it errors out and empties the cart. So creating a new session would empty the cart also, wouldn’t it?

     

    No, because the cart will be associated with session "A" and the login will be with session "B". If, and only if, the login on session "B" is successful would you then transfer the cart from session "A" to session "B" and continue on with your MOS logic.

       -Morgan