.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

track users without login info

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :ASP.Net

Hi there. This should an easy question.

I'm trying to build the chat (it is already built here - http://www.codeproject.com/KB/aspnet/WebChatAsp35LinqAjax.aspx)

The only thing I want to change is: remove login control.

Instead of login I want to assign random usernames to people who open my webpage. Also, when somebody closes page and reopens it again in, say 10 minutes, I want this user to have the same username and data.

This is kinda easy, just need to get an idea.

Thank you

View Complete Post

More Related Resource Links

Forms based users being prompted for windows authentication login for My Sites photos in user lists

Here's an issue I didn't see coming for our forms based authentication users. 

We have a web application extended to an external url to handle forms based authentication for users outside of our domain. Our setup looks like this...

Internal Users/Windows Authentication - moss.domain.com
External Users/Forms Based - mossext.domain.com
My Site for Internal Users - mysites.domain.com

When our forms based users are accessing user lists, or discussion pages that display user pictures, they are getting a windows authentication login for our internal users (mysites.domain.com) who have populated their my site with personal photo.

How do we fix this? 

FBA users (ldap provider) don't have any user profile info when logged in.... what am I doing wrong

Sharepoint 2010, Claims authentication, FBA using ldap membership provider and role provider against Active Directory.  User profiles all imported just fine -- used the LDAP FBA provider hitting Active Directory to do so too.  whenever an FBA user logs in, it doesn't seem like sharepoint is picking up any user attributes.  targeted audiences don't work and MY SETTINGS is blank other than account and name.  If the same user logs in but through Active Directory, everything works just fine... targeted audiences, etc. Am I doing something wrong or can I not use the LDAP provider to authenticate to AD and also use the user profiles from Sharepoint?  GRRRRR.  All this to get around the Windows Authentication popup so I can customize a better looking logon experience.  Help?

Login goes to Sql server for users and to sqlExpress for roles

Hi all,I have a site witl forms authentication using te login control. I altered my sql server, I added a connectionstring and used the connectionstring in both, <rolemanager> and <Membership>. That part of the web.config is listed below.The pronlem is that the login control goed to SQLserver to check the users and their passwords, but it goed to the SQLExpress database for the roles..... who can help me because it's driving me crazy!!!!!!<connectionStrings>    <clear/>    <remove name="Conn"/>    <add name="Conn" connectionString="Server=SERVER;Database=DBNAME;User Id =USERNAME;Password=PASSWORD;Integrated Security=False"                       providerName="System.Data.SqlClient"/>    <remove name="LocalSqlServer"/>    <add name="LocalSqlServer" connectionString="Server=SERVER;Database=DBNAME;User Id =USERNAME;Password=PASSWORD;Integrated Security=False" providerName="System.Data.SqlClient"/>  </connectionStrings>  <system.web>    <membership>      <providers>     &nbs

login fails for (some) users.


Dear All,

My site (asp.net 2.0 c#)  has 3 login fields, Group, User and Password.  I use forms authentication with the following authentication section in my web.config :

    <authentication mode="Forms">
              name =".LoginCookie"

Most of my users can login no problems, but for about 1 in 5 of them, they receive no error message at all and are thrown immediately back to log in page.

Every login attempt is written to a security log and according to that they passed my own inbuilt validation,

how to make login control allow users to login by either username or email address


how to make login control allow users to login by either username or email address 

create a custom login WebPart for FBA users



I've configured FBA in my SharePoint 2010 site.And i've added the users in my database.Now i want to create a custom login WebPart.How do i check the user credentials.Please help me.

Create a login that can grant permissions to other users?


Ive been asked to create a SQL Login for a developer that can grant permissions to other users. 

Anyone know how to do this?



Settting password expiry to login/users without domain policy dependency


Hi Friends,

I would require your help,in setting password expiry for login/users.But this shouldnt have any dependency with Windows Domain users expiry policy.For example our domain user expiry policy 45 days but we want sql server login/users password expiry to be 180days.For any clarifications




Collect user info, assign temporary password and login later



Hi everybody,


We need to create  a Contact form on the website with the fields such as 'First Name', 'Last Name', 'e-mail address',  'Message Text', etc., that a user could contact us sending questions, etc.


Then we'd contact a user to discuss the possibility to be a member (purchase a product/service). So, we don't want to provide the ability for the user to create a login and a password through the asp login control. We want to send him a temporary password and login later after we decide he/she can be a member. The user login can be the user's e-mail address.


The questions are:

  1. Should we send the user information to the asp profile right from the first user contact info submission? Can we do this as the user won't have a password? Or we need to create a separate db table for it?
  2. Can we have a hidden field on a profile the administrator could see if the user is a member or just a new user? Or we could see it through Roles with the link to profile later when we make the user a member?
  3. How we could assign a temporary password to a user when we make them  a member? Probably, we could use their login (e-mail address) and do the registration from the asp Registration control entering the temporary password ourselves then sending some automatic e-mail to adv

Moving MySites to a users new login



I could not find a MOS 2007 forum, so I will try it here, sorry!?

We have recently changed user login (username) and not by rename but new logins!
Now I want to move the "old" MySites from the "old" username to the new username!

Anyone has a solution!?

MS SQL Server: Disconnect Users From Database - Kill User Session

If you ever wanted to restore your database from a SQL backup file (.bak), but there are still users connected to your database, the backup operation will fail causing the error: Exclusive access could not be obtained because the database is in use.

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.

Some areas of the site usually contain less-dynamic information. Internal memos and corporate policies are common examples of this information. One option for this information is to post these documents in a document library. Documents in a library are often stored in a few different formats: Word, Acrobat (PDF), or HTML. Each of these formats has its drawbacks.

Like Celebrities - info about all celebrities

Like Celebrities - info about all celebrities

Enabling Users to Maintain SharePoint Content

When SharePoint is installed as a corporate intranet, there is a considerable amount of effort involved in maintaining the content to keep the site relevant. As we discussed in the first few parts of this series, SharePoint has many built-in features to reduce the burden on the site administrator.

Track: SharePoint for Developers - Part 1

Are you a developer who wants to learn more about Microsoft Office SharePoint Server (MOSS)? MOSS is based on Microsoft Windows SharePoint Services, which will make it easier for you to get more problems solved with less effort. Windows SharePoint Services 3.0 takes full advantage of Microsoft ASP.NET and the Microsoft .NET runtime. In this course, you will be immersed in the new features and added programmability that is support in MOSS, which will provide you with a wealth of development opportunities.

How to track the changes of user contacts(colleagues) by using SharePoint API

We might have seen colleague tracker web part which keep tracks the changes made in our contacts/colleagues details like profile/lists/sites. The same tracking mechanism can be implemented by using MOSS API in any custom web part/ web control/ feature/web service...

UserProfile.GetColleagueChanges is the method which returns all changes happened with the contacts, this method also accepts a Query (UserProfileChangeQuery) where we can specify different parameters to filter the changes

Need help redirecting users to personalized page


 Hi, first timer here so be gentle.


I've been able to create a cool little website, it's up and running with users logging in and out, I created roles so my administrative team can see sensitive data that's not available to regular and anonymous users.

Now they would like me to create a page specific to each user.  For instance when user A logs in they are redirected to a page that has information that pertains to user A only (like a list of their benefits/ their remaining vacation time). This page needs to be accessible only to user A. 

I've watched a ton of the videos but have yet to see one that covers this topic, any help would be great!!!





ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend