login

trac authentication issue with mercurial

I'm trying to get a Trac install working on a Centos box. I have installed Trac (v 0.12.1) and tracmercurial plugin (http://trac.edgewall.org/wiki/TracMercurial) rev #@9946. So far everything seems to be working fine EXCEPT when i go to the login page. I constantly get the error "Authentication information not available." My trac p...

Login to remote site with cURL - receive cookie, send one, go to subpage

Hi, I'm trying to login to a remote site called Lectio. The site sets six cookies on your computer when you visit it. When I try to log in with cURL, I only get two cookies. Three of these six cookies should be set even when entering the site and not logging in. I get two of these cookies. I guess the last one is set through JavaScript...

Checking for Administrator user login in non-English installations of windows

Hi! I have some small questions...I have a program that stores a list of users in a database and compares on program startup if the user is in the list or is an administrator before letting them use it. At the moment, the way I'm using to check if the user is an administrator is simply by comparing the username to a string constant calle...

SQL Server Error 223 When Connecting

Hi guys, I recently changed SQL Server 2008 from windows authentication mode, to mixed. I created a new user 'taraw' and set a password. I'm connecting to localhost - which works perfect when using windows authentication, however if I want to use SQL Server authentication with my user - taraw, I get the following error: Shared Memor...

Cannot open database, Login failed for user

Hi guys, I'm running the nerddinner MVC application on visual studio, and the database is on sql server 2008. I was previously having problems with permissions, etc but I seemed to have these sorted. I created a user - taraw in SQL Server Management Studio, and got this all working. I can log into it fine. When I test the application...

codeigniter I cant login

Hello, im trying to make a login script in codeigniter, but I only got a blank page, I want it to say "username or password is wrong" and if the username and password is right it should set session to true, hope some one can help me here is my code <?php class Login extends Controller { function index() { if ($this->...

Web-service authentication management

Hello, I'll have to develop some private web-services, so I need a way to authenticate the users in order for each service to be able to know if a request is valid and to maintain some session states. I'd like to have a central authentication service with some simple operations like "logIn(login, password)" (that uses a directory like ...

Apache pass and login authentification partially failed

Hi everyone, I try to add an Apache login and pass authentification. It works ... well, not as intended. I have 2 server names, one ssh and a "normal" one. This is how I've done it so far : <Directory /> AllowOverride AuthConfig order deny,allow allow from XX.X.X.XXX 127.0.0.1 deny from all AuthName "Login/Pass" AuthType Basic AuthUse...

Logging into Microsoft Online website programatically with C#

Hi guys, I'm trying to write a utility which will attempt to login to the Microsoft Online Admin website and report back as to whether it is reachable. Using code mainly from this article, http://odetocode.com/articles/162.aspx and some screen scraping I have pieced together the following. Unfortunately it doesn't work, the final respon...

Magento Admin login kicks me out back to the Admin login

After I enter my username and password and click "Login" it sends me back to the Login page with NO error messages. The URL changes to include a session key and that's it. Everytime I click Login again, the session key is regenerated and I still can't log into the admin interface. ...

Login - User Level

Hi, I would like to make a login page with 2 different user level, Admin & Staff. How can i do it using d code below. Thank u. <?php $host="localhost"; $username="root"; $password=""; $db_name="profile"; $tbl_name="company"; mysql_connect("$host", "$username", "$password")or die("cannot connect...

Get the logged on user name in C#

How do i get the current logged on user name in windows 7 (i.e the user who is physically logged on to the console in which the program that i am launching is running). For example if i am logged on as "MainUser" and run my console application (that will display the logged on user name) as "SubUser", then the program only returns "SubUs...

ASP.net login control design

I've tried looking for this but can't find anything: <asp:Login id="Login1" runat="server" TitleText="" CreateUserText="<br />Register a new account" CreateUserUrl="register.aspx" PasswordRecoveryText = "Forgotten password?" PasswordRecoveryUrl="getPass.aspx" UserNameLabelText="User...

How to Return to Previous page that was request by Post Form Submitting after Login?

I want to redirect to the previous page from Log In page after user logged in. The problem is the previous JSP page was requested by form submitting(with Post method) and the previous JSP need the data submitted to do some logic. What's the best way to return to previous page without missing the data that has submitted by Post method? Th...

manage users views with different roles cakephp

Possible Duplicate: how should I render views when users habtm roles. cake hi i got users habtm roles the thing is when i login i dont know how to separate or mix the views for users that have more than one role... any help? how would you manage this issue? by letting the user select which role he wants to play? or mixing ...

ASP Login Web Control events are not behaving as expected

I have an .aspx page that contains an <asp:Login> web control. For authentication, I have another class (MyMembershipProvider) that inherits the System.Web.Security.MembershipProvider class. The login process is working fine - i.e. username/password is properly authenticated by the MyMembershipProvider object. My question is in regar...

iphone - facebook login and post problem.

I'm integrating facebook in my iphone app. I placed a button "Post" and when clicked, its showing "Facebook Login" view. I'm entering the credentials. Then did login delegate, i'm posting the message. Now,its showing the message view with two buttons at the bottom "Skip" and "Publish". "Publish" is working fine. When "Skip" is clicked, i...

Only Know Password for One MySQL Login, Need to Reset Other Login...How?

I have access to the lesser account. I want the password to the All Privileges account. I've tried a few options but can't seem to get the password to reset. Suggestions? I'm also on Twitter asking for help... @BrentDPayne Thanks, Brent D. Payne ...

Is there any way to check if the user enters their windows password incorrectly?

Hi, I'm not sure if it is actually possibe in C#, but I was wondering if there was a way to check everytime the user logs into the computer, and if the password was incorrect, call a function within the program. I'm not sure how tight the security is on things like this, so any help would be appreciated. ...

Transparent Single Sign On across multiple websites

I have a network of sites. Some of them as subdomains and other as domains. I want to create a central login place for all my users like http://login.example.com/ where they can log in. I have a sign in link on all the sites which the user can click to sign in. If they sign in once, they should be transparently logged in to all all other...