login

Subdomains and Logins

If you multiple subdomains e.g.: sub1.domain_name.com sub2.domain_name.com Is there a way to have a user be able to log into both of these without issues and double login issue? The platform is Python, Django. ...

Should we deprecate the "Remember Me" checkbox and start assuming?

I've been thinking about this quite a bit lately, and I would like some feedback from this wonderful community. Is it safe to assume that a user wants to be remembered when they login? And if they are using a public computer, is it safe to assume that they are smart enough to logout before leaving? ...

How to redirect to the last visited page in Grails app?

Hi, I am a newbie in Grails and I am struggling with many simple issues. For instance, I don't manage to find a proper way to go back to the last visited page when I login/logout from a template view that is displayed on the top layout of the page. My last try for solving this problem was to save the ${params.controller} and ${params....

How to implement a HTTPS login page in a web application?

I want to create a secure login/logout mechanism. I started reading the following articles to get an idea of things to take into account: Solving the Logout Problem Properly and Elegantly Revisiting the logout problem These articles make some good points, but I was thinking in using HTTPS in a similar way as the Yahoo mail login pag...

ASP.NET MVC Login Modal Dialog/lightbox

I was hoping to create a lightbox/modal dialog for login into my website which is built with asp.net mvc. However the only way i can think of is to put logic into the onClick events for the hyperlinks when linking to restricted sections. I would prefer it so I could still use the Authrisation action filter, and when you click on a link t...

Is there a drupal 6 hook to process login authentication without posting from the login form?

I'm working on a Drupal based system that will not be directly handling login processing. Rather, another system will be handling the user authentication and transmitting the data directly into Drupal via a GET parameter. Can I hook into a function that will process that GET parameter and verify the User? I'm coming into the develop...

How does a web page remember you on next log in?

I am trying to implement the functionality that is done by most web applications on the web that have a login screen and a "Remember me" checkbox on the side that if checked will allow open entry to the user next time they visit the web page...As in, it does not ask the user for username and password anymore it just logs them in. I want...

Basic Security in JSF

I would like to see a simple Login Application, not as simple as this though. What i would like to achive is an understanding on how JSF works, I've developed a lot of ASP.NET where you have the Code Behind and where you can just Check if a session was created upon Login. A similar solution in JSF would be great. This is basicly what ...

How to programatically find out the last login time to a machine?

I would like to a) programatically and b) remotely find out the last date/time that a user successfully logged into a Windows machine (via remote desktop or at the console). I would be willing to take any typical windows language (C, C#, VB, batch files, JScript, etc...) but any solution would be nice. ...

How to get the django Current login user?

How to get the django Current login user? ...

User Login with a single query and per-user password salt

I've decided to implement a user login using a per-user salt, stored in the database. The salt is prefixed to a password which is hashed with SHA and stored in the databse. In the past when I wasn't using a salt I would use the typical method of counting the number of rows returned by a query using the user inputted username and passwo...

MySQL: Unknown column in where clause error

I have a PHP script and for some reason mysql keeps treating the value to select/insert as a column. Here is an example of my sql query: $query = mysql_query("SELECT * FROM tutorial.users WHERE (uname=`".mysql_real_escape_string($username)."`)") or die(mysql_error()); That turns into: SELECT * FROM tutorial.users WHERE (uname=`test`)...

Sample Login Application

Hi , I am newbie and i wanted to create a sample login application which accepts username name and password and validates the same after licking on a submit button. i have created userInterface screen and i wanted to do the validation and i am struck with that. i wanted to check if the username and password are same and if so display a...

How to implement a login system in JSP

Hi everyone, A pretty basic JSP question, since I'm still trying to understand the right way to do things. I'm working on a web app which requires users to log in before working. What I'd like to happen is, anytime a user that isn't logged in tries to access any page (other than the login page), the user will be redirected to my login ...

CakePHP authentication breaking after an incorrect login

I have a simple login form, username and password. Basically, When a user is anywhere on the website, he can click a link that will take him to the login page. After login, he is redirected to the page he came from initially. The problem: let's say I was in the "/posts" page, and I clicked to login, so now I am on "/users/login". - if...

Windows Vista/7 Programmatically login

Is it possible to create a service or application which can programmatically log a user in when windows(vista/win7) starts up.... if a user has a token eg biometrics or smartcard ...

[Python] Login webpage

Okay well I try to login into facebook using python. but well it doesn't work and I've really no idea why By google I found this result for logging into a website unfortunately it does not work for me... It seems to be that there is going something wrong with the cookies, because facebook says to me that cookies aren't turned on when ...

ASP.NET MVC + move login controls to home page

This has really been bugging me. I would like to have the login interface on my home page for ASP.NET MVC. I have tried creating a partial view inside of the ~/Views/Account/ directory named LogOn.ascx but when i try to submit the values via the submit button, everything blows up. Am I missing something or is there an easier way to do th...

How do I login into Google Apps via a URL?

I know I can login into Google using a URL. For example to login and see my inbox: https://www.google.com/accounts/ServiceLoginAuth?continue=http%3A//mail.google.com/gmail&service=mail&Email=LOGIN&Passwd=PASSWORD&null=Sign+in But how do I do the same for a gmail inbox that belongs to a domain that is using Google Apps? ...

Joomla unified logins for forum and a custom made php sub-site

I'm building a site with Joomla where a forum should exist amongst other things. But also I plan to develop a custom made functionality (diary-like) with a php inserts (it really works, for example with jumi). The problem is that I suppose nobody will understand if the forum and this sub-site will have separated logins. I'd use an existi...