VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 Bug in Customer Service
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Happy
VP-ASP New User

90 Posts

Posted - December 09 2006 :  19:40:00  Show Profile  Reply with Quote
The bug can be reproduced by following the following sequence:
1. I am existing customer with a few previous orders.
2. I log in, click My Account and view Previous Orders.
3. Log out.
4. Click My Account link again, same browser session.
4. Click Previous Orders.
6. I can still see the orders and change the address of the previous login session.

I use 6.09.


Thanks,
Happy

support
Administrator

4266 Posts

Posted - December 11 2006 :  22:02:06  Show Profile  Visit support's Homepage  Reply with Quote
Dear Happy,

Thank you for providing us with this information.

To resolve this issue an extra line of code needs to be added to shopcustadminlogin.asp

Around line 20 - locate the following:

if Newuser<>"" then
ResetCustomerSessiondata
Setsess "CustomerLogincid",""


After the line Setsess "CustomerLogincid","" add the following:

Setsess "CustomerID",""

So you should now see:

if Newuser<>"" then
ResetCustomerSessiondata
Setsess "CustomerLogincid",""
Setsess "CustomerID",""

This will reset the customerID session variable and resolve this issue.

Thanks again for pointing this one out.

Regards,

Michael
VP-ASP SUPPORT
Go to Top of Page

Happy
VP-ASP New User

90 Posts

Posted - December 12 2006 :  11:39:45  Show Profile  Reply with Quote
Thanks Michael for the fix.

Another area where some tweaking may be done is when I am logged in, have something in the cart, then log out without ordering, the cart should be emptied out automatically.



Thanks,
Happy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000