user

NHibernate crashes when being called from a web user control in ASP.Net

I have a very strange problem: NHibernate crashes when being called from a web user control. I am working on a ASP.Net (2.0) web page which uses NHibernate to access a database. And I have a simple factory class to access a column CurrentStepNumber in the table ProjectInfo: public class ProjectEntity { private int? _currentStepNum...

Windows 2000 Server with Interdev Users - how to find and change

I've inherited an Windows 2000 server with Interdev-enabled sites. I don't know how to find out which "interdev users" are mapped to domain/local accounts or how to change the users/passwords on an Interdev site. Someone mentioned they could do it with "FPSE" or "Interdev" but I'm not sure what that means. Any ideas? ...

how to send user ID across differnet application in ASP.Net?

Hello everyone, I have two web applications all are developed by ASP.Net. Now I want to provide a feature which enables the user to click from one URL in application site (one virtual directory of IIS) A to the other URL in application site B (another virtual directory of IIS). I have two ideas to implement them, but both of them have ...

what is the advantage of having a users' logs records in a website?

what is the advantage of having a users' logs records in my website or forum, why I should know who sign in? and when? I am asking this question because I built a website and my supervisor he asked me let the the system record all members logs! ...

How do you set a directory to have persistent group permissions?

We have two users: user1 user2 They both belong to the group 'admin'. We have a directory that has been set to 775. The directory's group has been changed to 'admin'. Each user has full access to write into that directory, though when a user writes a new file to the directory, the group permissions of the folder are not persisted to...

Are user names ever case sensitive?

I'm looking at some code that converts user names to lower case, before storing them. I'm 90% sure this is ok, but are there systems out there that actually require case sensitivity on the user names (specifically in the health industry)? Note: my particular code is not at the point of entry. We are taking user names from other systems...

Redirecting loop

I am creating a user login system similar to a client intranat. And when I try to access the main page I get a redirect loop in FF. I am checking to see if a user is logged in with this: if(($_SERVER['PHP_SELF'] != '/webmaster/index.php') && ($_SESSION['loggedin'] != '1234')){ header("Location: ".$domain."index.php?l=no"); exit(); ...

Save a custom int value for each User in a .NET Web application

Hi everyone! I'm new to developing web applications using the .NET framework. I'm just wondering if .NET has any support for saving a custom int value for each (logged in) user? Could I perhaps use the HttpContext.User property or something? I'd be really grateful for some help on this! /Ylva ...

How to create JavaScript form & User specific action?

I'm looking for help on how to code the following: I want to create a pop-up or Javascript item that allows users to accept the terms of completing an offer for me. Once they have accepted the terms, I would like that offer that they agreed to do to go under the account in a section or tabled labeled "Offers". Please advise on how to c...

What is the best way to setup permissions for web site users?

I'm working on a web site where each user can have multiple roles/permissions such as basic logging in, ordering products, administrating other users, and so on. On top of this, there are stores, and each store can have multiple users administrating it. Each store also has it's own set of permissions. I've confused myself and am not sur...

Solutions for Java User Account Management

I currently work on a Java web application that has relies on a permissions mechanism to manage user content. This of course means that we need to manage users. Our current user management system is an in house system that manage info about users, groups, and user and permissions in an RDBMS. The system works but is a hassle to maintain....

How to create/find a Joomla/Community Builder 'Latest Users' module? Playing with dates in MySQL/Joomla...

A few years ago when Joomla first sprung up and I moved over from Mambo I remember finding a great little component called Community Builder (CB) that extends the user-based interface behind Joomla. Over the last couple of years both Joomla and Community Builder have grown and flourished. I find myself remembering a small module I found...

How to get users to pay attention to problems?

We occasionally need to notify users about warnings or problems. But often times, especially if it's a common problem, users will just dismiss the warning and continue. Often times users won't even remember seeing the warning, but we check their logs and see that several were displayed. So, how do you get users to pay attention when you'...

Need to create a custom wizard control.

I have been asked to build a custom wizard control in VB.NET for a windows forms project. It has been made very clear to me that I am not "allowed" to utilize existing wizard controls on the internet due to some obscure logic surrounding copyrights. It has also been made clear to me that we are not "allowed" to use usercontrols in the ...

Bash scripting and user home from root account (Linux)

I'm writing an install script in bash for an application on Linux. This script copies some files into /usr/bin and /usr/share, so it needs to be executed by a root user, furthermore it makes an hidden directory in the $HOME dir for configuration files. Here is the problem: if a normal user wants to install the program, he needs to be r...

What is the benefit to validating email address at registration?

After user registers, i send an email with a guid link which user clicks to validate the registration. So it confirms the email exists, but how does that help fight spammers? Cant bots 'click' same link back to the site and validate registration just the same? Its late, maybe im missing something. ...

django inner join query

I am working with django and having a hard time grasping how to do complex queries Here is my model class TankJournal(models.Model): user = models.ForeignKey(User) tank = models.ForeignKey(TankProfile) ts = models.DateTimeField(auto_now=True) title = models.CharField(max_length=50) body = models.TextField() cla...

Is it OK to give users no way to change their password?

I think it's a Bad Thing to do, but I was hoping for an authoritative perspective, or at least a broad sampling. I personally feel that a user owns his or her password and that a website or software system merely stores it as a service to them. The user trusts my site with their password, and though I own the site, I do not own the pas...

Password Protect IIS directory

Hi, I'm looking for a way to password protect a directory in IIS. I'm aware that the standard answer to this is to create a windows user account for this directory, then give that user read permissions on the directory... but my concern is that by creating a windows user, won't that give them permissions to do stuff like login to the com...

Rails: tracking a user's ID

In my Rails app, I have a login page. After that person logs in, what is the best way for my app to continue tracking the person that has logged in. For example, if the user moves to different pages, my controllers/actions will lose track of that user unless I keep passing a variable between each page the user subsequently visits. Is the...