Users table filling up pretty quickly

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Users table filling up pretty quickly

Post by AbleMods » Sat Nov 24, 2007 12:46 pm

Guys my ac_Users table is filling up pretty quickly.

Looks like you're auto-generating a user account for something, perhaps the customers who checkout without creating an account?

This gonna continue? I've got over 1,500 user records in 72 hours.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Post by jmestep » Sat Nov 24, 2007 1:54 pm

You will get a new user added for each person who comes to the site and probably search engines also--I haven't checked into how AC7 handles them yet, but in 5.5 they tried to assign Search Engines the same UserID so they wouldn't be creating new users all the time. I've got 8 users now in my test site on my dev computer and I'm the only one who has been there. We've got 355,000+ users in the user table in our real site, so you've got some room to expand yet.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Sat Nov 24, 2007 2:07 pm

holy smokes!!

Wait a minute....is that how they're making the shopping cart persistent across browsing sessions?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Post by jmestep » Sat Nov 24, 2007 2:21 pm

Yes. If a customer has cookies turned off, they can still come back and start where they let off. For scalability, it is a good thing that Able does it that way. We have 3 load-balanced web servers and no matter which one the returning browser hits, they still use the same User ID.
Last edited by jmestep on Mon Nov 26, 2007 5:59 pm, edited 1 time in total.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Users table filling up pretty quickly

Post by Logan Rhodehamel » Mon Nov 26, 2007 5:44 pm

SolunarServices wrote:Guys my ac_Users table is filling up pretty quickly.

Looks like you're auto-generating a user account for something, perhaps the customers who checkout without creating an account?

This gonna continue? I've got over 1,500 user records in 72 hours.
If nothing is added to the basket, the user account won't be created. That's intended to prevent accounts being created by search engines that are spidering the shopping pages.

Go to Configure -> Store and look under anonymous user maintenance. You can have these records purged after a certain number of days of inactivity.

Yes, we persist shopping cart data through the database.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Post by AbleMods » Mon Nov 26, 2007 8:39 pm

Excellent information, thank you Logan.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

beveled
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 44
Joined: Thu Feb 28, 2008 6:21 am
Location: Pittsburgh, PA (Go Steelers!)

Re: Users table filling up pretty quickly

Post by beveled » Mon May 19, 2008 6:48 pm

So I'm a novice at creating DB sessions. How do you recognize a user when they have cookies turned off? Is it by IP address hitting the web server? If so, I'm curious how corporate customers with a single proxy server would be treated?

Thanks,

Sheldon

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Users table filling up pretty quickly

Post by AbleMods » Tue May 20, 2008 7:13 am

beveled wrote:So I'm a novice at creating DB sessions. How do you recognize a user when they have cookies turned off? Is it by IP address hitting the web server? If so, I'm curious how corporate customers with a single proxy server would be treated?
In the scenario where cookies are turned off, you can still get a good deal of information from IIS log files.

Corporate customers with proxy server or proxied firewall will hit your server with the same IP. That means certain information will be accurate, like browser type or OS version. Unique Visitors most likely will not, as most log file analyzers track that based on unique IP address.

In the last few years, there has a been a growing trend by banner ad marketers to use cookies for this very reason. Without the cookie, they cannot report their campaign success as accurately and thus charge more or less for the campaign. A secondary reason is the growing trend of "path" marketing - ads pop up on the next site based on the previous sites you've been to that day, week or month. The only way they can accomplish it in this day-and-age is with cookies.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

beveled
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 44
Joined: Thu Feb 28, 2008 6:21 am
Location: Pittsburgh, PA (Go Steelers!)

Re: Users table filling up pretty quickly

Post by beveled » Tue May 20, 2008 8:09 am

The way I understand it (we're not live yet), the contents of the basket for the last corporate customer will remain in there for the next one.

I would think it would be strange if I were a corporate user, added some items in my basket, and found X more items in there.

Is that the way it works or am I missing something?

Thanks,

Sheldon

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Users table filling up pretty quickly

Post by Logan Rhodehamel » Tue May 20, 2008 11:51 am

beveled wrote:The way I understand it (we're not live yet), the contents of the basket for the last corporate customer will remain in there for the next one.
No, the user session is identified through a cookie. So if the corporate user is not using a shared machine then they will have their own basket.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

Post Reply