user

Tmp issues with java service on windows 2008 service

Hello! I am having a rather nasty problem with windows 2008 server. We have a java application that is running as a service using the local services user. The problem is this user does not have access to read/write to the specified java tmp directory (specified by the system). This means that every time the application tries to create a...

Install a file which should be removed only on real uninstall and never overwritten

When I install my application, along with the binaries, a conf file is installed that the user can change as he needs (it's actually the user data file). I would like this file to not be overwritten or deleted when a repair, upgrade, modify happens and it should be deleted only when a real uninstall happens. In other words: this conf fil...

Display user name in reference to user id in django template

I expect this is an easy question. For some reason, I don't have a solution yet. I have an object set from django reversion: version_list. Each object in the set has a user id attached to it. How do I grab the user names that correspond to the user ID's? To try to be clearer, if each object in version_list has a name, date, and us...

$.ajax not loading data data everytime from server

I have written a simple jQuery.ajax function which loads a user control from the server on click of a button. The first time I click the button, it goes to the server and gets me the user control. But each subsequent click of the same button does not goes to the server to fetch me the user control. Since my user control fetches data fr...

Using a database class in my user class

In my project I have a database class that I use to handle all the MySQL stuff. It connects to a database, runs queries, catches errors and closes the connection. Now I need to create a members area on my site, and I was going to build a users class that would handle registration, logging in, password/username changes/resets and logging...

how to get the 'user' object in django..

i want to get the user who login now .. how to do this .. thanks this is my code : ps=Position.objects.filter(name=User.username) updated: ps=Position.objects.filter(name=request.user.username) and return render_to_response(template_name, { "map_form": map_form, "map": map, "group": map, # @@@ this shou...

Trigger user control post back from client side

Can a post back to the user control be triggered from javascript (on the client side) without updatepanels? What I am trying to achieve is this Initially the page and the user control are loaded with default values The parent pages makes a PageMethod request When the data is available (from the PageMethod request), the user control h...

User submitted content filtering

Hey all, Does anyone have any ideas on what could be used as a way to filter untrustworthy user submitted content? Take Yelp for instance, they would need to prevent competitors writing business reviews on their competitors. They would need to prevent business owners favourably reviewing their own business, or forcing friends/family to...

accessing user control in class file in asp.net

Hi. I want to access a usercontrol in my class file not in aspx.cs.i need to typecast it using ASP.usercontrol_ascx type but i cant access ASP namespace from my .cs file..how to typecast the usercontrol?? Thnx.... ...

How to keep the session of user login?

Hi, I have an app that requires user to register. I've got the app conected to PHP in my server to do the logic of register/login and so, this is not problem at all. But, I want to keep a session of the user in local, so the user doesn't have to login again every time he runs the app. So, I want something like this: First time user,...

Storing pictures per user on website (php)

Users of the website need to able to store images in their "area" , should I store these in the database directly or create a directory for each user. Or should I just have a single directory for all images and in the database store a list of images that each user owns? I'm looking for the most effecient way, which I think is a folder fo...

When should I think about implementing my User authentication / session?

After spending some time wireframing my ideas, I want to start building my rails app. However, I'm well aware that later down the line I'd like to consider multiple user accounts. Should I be thinking about the implementation of this from this early stage, or is this something I can implement without too much fuss later? It seems like ...

PHP/MySQL User system w/ groups.

I have a user system set up in a 'users' table, and I have groups set up in a 'groups' table. Essentially, I want users to be able to join any and all the groups that they want, in the same was as one would on facebook. How would one go about structuring this in a mysql/php database system? Just a quick summary would be helpful! I've l...

user creating/saving

i want to write 2 program: 1) programm saves all local users to the file. 2) loads file find that users not found on local machine and create user. for searching all users which create on local machine i use next code: foreach (ManagementObject user in userSearcher.Get()) { if ((bool)user["LocalAccount"]) { string...

Facebook Connect How to get userId after sign in from face book connect

i am using facebook connect it is working fine but what i want now is i want to get the information of the currently logged in user. like name, email etc. I am working in asp.net 2.0 Regards ...

Access Control Lists basics

Hi, I'm gonna add authorization, user and groups management to my application, basically... you will can define a set of permissions for a concrete user or group. For example, you could specify whom can use a concrete resource. So I want to ensure that my assumptions about ACLs are right: A basic rule could be "Grant", "Deny", "NoSet...

Sharepoint: Redirect user to default site

Is it possible to set a default site for a group of users in Sharepoint and have the main default page redirect them to the sub site? ...

software user manual template?

Does anyone know where I can find a good user manual template? ...

Django - how to write users and profiles handling in best way?

Hey, I am writing simple site that requires users and profiles to be handled. The first initial thought is to use django's build in user handling, but then the user model is too narrow and does not contain fields that I need. The documentation mentions user profiles, but user profiles section has been removed from djangobook covering dj...

Implementing a Suspension or Penalty System for Users in ASP.NET MVC

I'm writing a site in ASP.NET MVC that will have user accounts. As the site will be oriented towards discussion, I think I need a system for admins to be able to moderate users, just like we have here, on Stack Overflow. I'd like to be able to put a user into a "suspension", so that they are able to log in to the site (at which point the...