Hi I am using nop v. 1.4
I can see that when logging out the system also empties shopping basket.
I think it probably destroys all sessions.
In my mind it is a bug, you should be allowed to login / out without the basket being emptied.
This is the function that I think should be updated to ensure that the basket still exists:
/// <summary>
/// Logout customer
/// </summary>
public static void Logout()
{
//bool flag = NopContext.CheckSessionParameters();
//if (flag)
//{
// CustomerSession session = NopContext.Current.Session;
// if (session != null)
// {
// session.IsExpired = true;
// SaveCustomerSession(session.CustomerSessionGUID, session.CustomerID, session.LastAccessed, session.IsExpired);
// }
//}
NopContext.Current.ResetSession();
if (HttpContext.Current.Session != null)
HttpContext.Current.Session.Abandon();
FormsAuthentication.SignOut();
}
B.R
Chris