 |
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0  | This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

April 19th, 2007, 04:33 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Strange User File entries...
I'm running TBH by launching it within MS Web Developer Express, I'm using SQL Express and I've changed the Connection String parameter "User Instance" to False (since that is the way my SQL is setup). What is bothering me are the AMAZING number of what I assume are "Anonymous Users" being added to the User file as well as corresponding entries into the Profile file. I can clear all of these entries out of the two files, launch TBH ONCE! and have SEVERAL "users" added to the Users file...
What in the heck is going on? I saw the post with the SP to delete the Anonymous Users from the User file, but it seems to me that something isn't right about the way all those entries are being created in the first place. Is anyone else having this problem? Has anyone come up with a solution?
Thanx in advance to any help. :)
Wolven
|
|

April 21st, 2007, 09:46 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Anytime a page anywhere on your site is hit, it will create a user if one doesn't exist (within the same IIS application). I have other pages that aren't part of TBH, but since it's all one site in an IIS sense, they have users created when they are hit. Maybe this is your situation?
|
|

April 21st, 2007, 03:20 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm just running the TBH application. I clear all the "anonymous" users, open the website, login, and then logout. I never leave the main page, and it creates 24 anonymous users! Something is seriously broken there. What counts as a "page"? Is each user control considered a page?
Furthermore, since it creates an anonymous user for the visitor when they hit the first page, why can't it recognize that user when they move to any other page?
I'm still wondering if anyone\everyone else running TBH is having this issue or if it's just me.
And Thanx for your response englere.
|
|

April 21st, 2007, 05:24 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Do you have a cookie blocker or internet security software that blocks cookies installed?
Anonymous profiles rely on a cookies. If your browser doesn't accept them, I think you'll get a new ID on each request, resulting in many anonymous users.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
|
|

April 22nd, 2007, 01:56 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm using IE7 and I "accept" all cookies from my local computer so, theoretically, that shouldn't be the problem. Just to make sure, I deleted all extraneous users (and their associated Profiles) and then I deleted all the "blocked\allowed" cookie settings in my IE and then launched TBH again. When asked if I wanted to accept cookies from the site I specified "always". Logged in to TBH then logged out. That single action created 23 new Users and Profiles...
I spent all morning trying to find exactly where and how Users are being created, but I still don't know. I'm assuming the MS supplied system Login control(s) used in TBH are handling the User and Profile creation. I'm also guessing that the problem lies within those controls code... which, oddly enough, wouldn't surprise me. :)
But Thanx for the reply Imar.
|
|
 |