Welcome, Guest ( Customer Panel | Login )




 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-CART 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

4679 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-CART 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
0 Item(s)
$0.00