Posted - 02/25/2021 : 19:45:06
Hi there,
I am having 2 separate but similar issues with cart.asp/clientlogin.asp
1) When I try to log in to with under https://mysite.com/clientlogin.asp or using the mini login widget (located top right of every page where it says"Welcome! Sign in here"), after I put in the username and password, It flashes on screen as 'Login Successful' and takes me to
https://mysite.com/cart.asp?mode=acct
but the mini login widgt still shows as I am not logged in ("Welcome! Sign in here"). I would try to login again but same thing happens. so I keep going around in circles.
2) The issue above wont allow to me login, and at times when i are able to login, i cant able to logout.
After 'Login Successful using the cart's mini login drop-down menu, everything is fine until i press the Sign Out button (on the top right of every page after i logged in) but the Sign Out button does not do anything. When i hover over the Sign Out link, i can see the url www.mysite.com/cart.asp?mode=logout but the site does not log out.
I read from the ecommerce template forum post and this person has the same issue:
https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=108823&SearchTerms=cant,log,out
And the post above advises
'that looks like an issue with the session variables on the server. You should show that to your host.'
and this one (note my shopping cart software is ASP but below refers to PHP)
'It looks like the PHP session variables cannot be written as David says - it's not somethiing related to the PHP version or how you upload files but either the location where the session files should be written to is missiing or has lost permissions. Can you go back to your host with that iinformation as it's not somethiing you can fix yourself or somethiing we can do from here.'
NOTE, i have a test site under a different directory that has the same files but is not experiencing the this same problem.
I've sent the above to my website host tech support and they advise me the following:
----------------------------------------------
ASP doesn't store session variables on disk like PHP does, they are kept in the worker pool for your site (in memory) and both your real cart and your test cart use the same pool.
The only thing I can think of is that the browser is not letting the cookies be set because your real site shows insecure items being loaded but the test cart does not. Browsers are getting very strict on not allowing mixed content when doing things that involve cookies or sending data back and forth when forms are submitted.
----------------------------------------------
Please kindly advise what the problem may be and how to fix it.
I can send in my site and ftp info privately if needed.
Thank you, Amy
|