Logging in a user onto one site logs out a user on another!
I am building a CMS application. All is on one computer during development using Visual Web Developer 2008 Express Edition and Windows XP Professional.
Simply, I have one set of pages and each website's domain name points to the same pages, which load different data from the database, depending on the domain name.
I am using the membership and roles framework but have left the applicationName blank in the roleManager and membership providers so that, as authenticated users create an account, a different applicationID is created for each domain name. This way, the users and roles ...Two users, one computer , one Thunderbird ?
I would like to know how, if it's possible, I can set up one
Thunderbird installation on my computer so that two users can have their
own accounts with their own bookmarks and address book etc. I would like
to have two desktop icons that start the program in the required account.
From the searching I have done it would appear that I need two
profiles, I can do that but will each profile have its own address book,
bookmark file etc. and how do I get the Icons?
Greatful for any help...
The date and time was Monday, September 07, 2009 6:11:44 PM , and on a
w...How to avoid variable be overwritten by new value when two different user login in two different browser window on same computer?
I have silly question to ask. When I login a page, I am using some global variables to store these login information and they will be used in some other pages later on. However, if I am using some other details to login in the meantime, my previous stored information will be overwritten by new contents. So how to avoid it? I tried to use Session to store those contents, they are also overwritten by new contents.
For example, after the first login, suppose Process.Company = test1, Process.Keyword = testing1, those two variables would be used later on. And if in ...All users are logged off when one user loggs off
I have an application developed with ASP.NET and VB.NET now i am facing a very big problem.That is when in application if anyone user does signout all users who have logged in are also signed out.This means that if 1000 users are logged in and one loggs off then all other 999 users are also logged off. This is a tedious problem and i need it to be solved as soon as possible.Please help me out as soon as possible if you have any kind of solutions.
Could you post more details especially what is the solution in your code and what is your authentication setting in IIS?Best...Users logging in as the same user..
I have a problem with ASE12.0 .. I have created 10 users on the database
and granted everybody permissions and all.. However, it seems everybody, no
matter who logs in, logs in as the same user..
For eg... I have user logins John, Alex, Alan, Steve......etc etc
And i created a user group for all of them (eg developers..)
However, when they log on to isql, anything that they do will be under
John, no matter if it is logins John, Alex, Steve... or etc etc..
If i do a sp_who.. all the connections will be listed as John.
If they create tables, all table created will ...want to call one c#.net function in one user control from another user control
i have two user controls
info.ascx and personal.ascx
i have a function like
in info.ascx i have a function like showdetails()
now i want to access this function from personal.ascx
can i do this ?
thanks in advance.
shwetaThanksshwetaIn a day when don't come across any problem -you can be sure that you are traveling in wrong path
you should better create a class where you will define the "functions" that you need in both files. declare "static" the function and call it like nameofclass.nameoffunction
In a web project you can...access two different folder for two different group of users
I have a website, teachers and students can login and access their pages: if user is a teacher, he/she can access pages in Folder: "Teacher" only, if student, then can access folder "Student" only.
I am using Membership login function, easy to use, but if a student or a teacher login successfully, he/she can access both "Teacher" and "Student" folders. I need find a good way that: if login is a student (I can find way to get that), the user can access "student" folder only. if login is a teacher (I can also using code to get that) ...Login Control logs user in, but User is not authenticated, but user really is!
I am using aspnetmembershipprovider. Everything works fine. I slap a login control on my login page and am able to login and get to my secure folder etc.
When I try and put some code in the LoggedIn method "User.Identity.IsAuthenticated" = false, yet if I blow through that, I am logged, authenicated etc. The documentation says that the LoggedIn event is "after the user is authenticated".
Any Ideas what is up?Thanks,TPS------------------------------------------------------Note Collaboration for your next confernce call.http://www.ConferenceCallNotes.com
I am...Problem sharing a webcontrol in one User Control with another User Control...
Hi,I need to "share" a button in one User Control with another User Control. I have been trying to make it work for a long time, but I am nearly giving up. Please help! (I am coding in ASP.NET 2.0 C#)I have a main page (default.aspx) that contains two User Controls (mainUC.ascx & buttonUC.ascx).At first the User Control mainUC contains text (textHolder) that is clickable and the User Control buttonUC contains a button (editButton) that is disabled.The functionality I need is:1. When I click the text (textHolder in mainUC) the button (editButton in buttonUC) is enabled. This wor...Two Views with one as a user control problem
I have a user control that was originally viewing fine. and I add this control to another view page(View2.aspx), both pages have their own ViewData["Title"] that I make display in the view
<span id="spnTitle"><%=this.ViewData["Title"]%></span> , but when I add the user control to the View2.aspx It shows two titles which is correct but the titles are the titles of View2 only and the same goes for the string)ViewData["Columns"]. I am assuming the problem is because the characteristics for the titl...Pass values from one user control to a user control on a different aspx page
I have an aspx page titled Search.aspx. Within this page, I have a user control titled Search.ascx. I want a user to input search terms, then on the click of a button, I want to pass the values to another page (SearchResults.aspx)....which will then display the results in a user control.
Can someone please give me some suggestions on how to do this?
Thanks a lot!
Hello, what you can do is:
inside ur usercontrol, create a method that returns a dataset or datareader. that is, since u are searching using the usercontrol, then the result of ur search will be return...Web page not detecting a logged in user/user not logging in
Hey guysAs it stands, I've created two web pages within my app. One is a login page which is simply a blank page with the login control dragged on top. Within this control I redirect to my second page which contains a set of asp:Panels that are supposed to hide/display depending on which user is browsing the page.I've read several tutorials and at the moment, I've installed memberships/roles using the aspnet_regsql application. I've also used the web administration tool to create an 'administrators' role and create a user which is assigned to that role. I've also ...different linux users printing as different smb users
I want to be able to print to a Windows print server from suse 11.1
Using cups I am able to print by specifying a windows user account for
a printer in
However this applies to all the linux user accounts. What I want is
for each linux user to print as a different windows user account. Any
If you want to control user access to a shared windows printer, you
would normally do this via samba configuration file
'/etc/sam...Redirecting a user after a user is logged in?
I am using the Login control to login a user. But I have the IsAuthenticated property of Identity object as false even after user has logged in, in Login_LoggedIn event. Also, I cannot get roles for the user in this event using Roles.GetRolesForUser.
Can someone tell me how I could redirect a user based on user's role (only one role is there in my app per user) when using Login control?sun21170
Have a look into this link
Hope this will help youAshok Rajawww.iGold.inDon't forget to click "Mark...