User Profiles

Discussion in 'ASP.NET 2.0' started by logicbomb, Apr 6, 2006.

  1. Hello everyone,
    I'm building an e-commercesite and i want to use .net profiles for storing the shopping cart. I am also using membership and have gone through the process of setting up my hosted database for use with the various .net providers.

    I found that the anonymous user's username is changing between page requests, thus adding new rows to the profile tables every time a page is requested. Is this a configuration issue?

    Any help appreciated,

    tia,
    jason


    Post Edited (jason.t) : 4/6/2006 8:54:20 AM GMT
     
  2. The anonymous users name is changing for each page request? I've never seen this. Can you provide a few URLs to show examples of this happening?



    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. I don't have a URL that exhibits the behavior, but I think it has to do with the fact that I am trying to use forms authentication to secure a particular directory and an anonymous profile for the rest of the site. I imagine I don't have my root web.config setup properly.

    When I took out forms auth, and used IIS permissions anonymous profile works. However, whenI publish my site using VS2005 the IIS permissions get blown away, and its a bit annoying.

    I think I should be able to create the secured area as a new .net application so it can have its own root web.config w/its own formsauthentication (dunno if i can do that on DiscountASP.net's servers)

    I also found some goodinfo about the web.config & forms auth that I willexperiment with this weekendwhen I have time:
    http://support.microsoft.com/kb/316871
    http://www.codecomments.com/archive319-2005-7-531693.html

    jt
     
  4. yes, you can create new web application on dasp. check out the control panel, it's pretty simple to install and uninstall web applications.



    Joel Thoms
    DiscountASP.NET
    http://www.DiscountASP.NET
     

Share This Page