Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 11 of 11

Thread: Registered customers are unable to signin

  1. #1
    nirmal is offline Member
    Join Date
    May 2009
    Location
    Conyers, GA
    Posts
    35

    Exclamation Registered customers are unable to signin

    Our customers have been complaining that they are unable to signin while checking out. They go into an endless loop of logins and their shopping cart empties itself. The only way to solve this is by emptying the cache. Our site museumreplicas.com displays this behavior but the sister site atlantacutlery.com doesn't. Both run on ML 7.1 and have similar modifications done on them.

    It seems like something is going on in the signin process (which has not been modified)

    Appreciate your support.
    Last edited by nirmal; 10-08-2010 at 01:33 PM.

  2. #2
    ZachJ85 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philadelphia, PA
    Posts
    99

    Default

    http://www2.aspdotnetstorefront.com/...ad.php?t=21516

    I'm 99% sure this is your issue. It happened to me too, you add items into cart then you click another item or attempt to check out and you get logged out.
    SQL 2008, Visual Studio 2010
    Source: C#
    Version: AspDotNetStorefront ML 8.0.1.1/8.0.1.1
    Framework: .Net 4.0 (Running)

  3. #3
    nirmal is offline Member
    Join Date
    May 2009
    Location
    Conyers, GA
    Posts
    35

    Default

    Thanks ZachJ85. We resolved the problem by doing some investigation on our end.

    One way to reproduce it is to login, visit a product, change the url to non WWW and add it to cart. Now when you try to checkout you will not be able to sign in. The only way to checkout is to delete your cookie. Somehow the cookie gets messed up when you try to add a product with a non WWW url.

    I will be very grateful if the ASPDNSF team can throw light on it.

  4. #4
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    Quote Originally Posted by nirmal View Post
    Thanks ZachJ85. We resolved the problem by doing some investigation on our end.

    One way to reproduce it is to login, visit a product, change the url to non WWW and add it to cart. Now when you try to checkout you will not be able to sign in. The only way to checkout is to delete your cookie. Somehow the cookie gets messed up when you try to add a product with a non WWW url.

    I will be very grateful if the ASPDNSF team can throw light on it.
    Do you have app config RedirectLiveToWWW set to true? That app config will always force users to be on www.

  5. #5
    nirmal is offline Member
    Join Date
    May 2009
    Location
    Conyers, GA
    Posts
    35

    Default

    Yes, it is set to true. The appconfig value redirects people who visit museumreplicas.com to www.museumreplicas.com but it doesn't change the URL if someone visits say: http://museumreplicas.com/c-110-hall...tume-kits.aspx

    This would require URL rewriting and to that end I am exploring ISAPI Rewrite.

  6. #6
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    Quote Originally Posted by nirmal View Post
    Yes, it is set to true. The appconfig value redirects people who visit museumreplicas.com to www.museumreplicas.com but it doesn't change the URL if someone visits say: http://museumreplicas.com/c-110-hall...tume-kits.aspx

    This would require URL rewriting and to that end I am exploring ISAPI Rewrite.
    Well, im not sure why it's working that way for you, but it shouldnt be. If I got to my site as http://mysite.com/p-21-somegreatproduct.aspx it then redirects to http://www.mysite.com/p-21-somegreatproduct.aspx.

    It works this way on 8.x and 9.x

  7. #7
    nirmal is offline Member
    Join Date
    May 2009
    Location
    Conyers, GA
    Posts
    35

    Default

    Would someone from the ASPDNSF kindly comment on this? Maybe provide sample code to perform this URL redirection throughout the site? I would be very grateful.
    Thanks.

  8. #8
    mdelmic is offline Junior Member
    Join Date
    Aug 2009
    Posts
    13

    Default Same Issue here

    I am having the same issue here, can someone please provide me with easy to follow instructions as how to make this problem go away.

    Thank you in advance.

    Sam D.

  9. #9
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    There is a link posted by ZachJ85 (here in this thread), try to follow what was directed there and get back to us if that resolves the issue. Thanks

  10. #10
    mdelmic is offline Junior Member
    Join Date
    Aug 2009
    Posts
    13

    Default Lets See

    Ok I have follow the instructions and add the recommended line note in red color, lets see what happens..

    Thank you in Advance.

    Best Regards,

  11. #11
    jsimacek is offline Senior Member
    Join Date
    Dec 2008
    Location
    Phoenix, AZ
    Posts
    373

    Default

    Guys we have seen similar issues if someone hardcodes absolute paths (with http://www.domain.com etc) to category/product/account pages instead of using relative ones. By hardcoding the full/absolute paths, you might be sending the user back to http context instead of keeping them in https and vice versa.

    So on top of checking your redirect to www appconfigs per above, make sure your template/menu does NOT have any urls with your full path/domain in them!
    Jan Simacek - Compunix, LLC
    AspDotNetStorefront trusted Devnet Partner and Reseller since 2005

    AspDotNetStorefront Mods and Add-Ons at http://www.ecommercecartmods.com/
    - Searching, Filtering and Sorting (like cSearch, Dealer Locator, Price Ranges, Blog)
    - Reports (like Cart Abandonment and Net Sales)
    - Customer Experience (like Question/Answers)
    - Site and Data Management (like Entity Product Mapper, Bulk Updaters, Make/Model/Year filters)