login

PHP Sessions - User not stored after login.

I am building a basic password protected area on my website and I have a login form. <!-- login.php --> <?php session_start(); ?> <?php if(!empty($_SESSION['user'])) { ?> <form> <input type="text" name="username" /> <input type = "password" name = "password" /> <input type="submit" value = "login" /> <input type="hidden"...

DotnetNuke: Account login in Custom skin development.

Hi, I am developing a skin where in which i would like to bring in the login area(similar to account login module) in to it, so that in all the pages where this skin is applied a login area would appear. How can i achieve this?.Is there any skin object for this.Please do suggest the alternatives possible through DNN. Thanks & Rega...

Asp.NET Login Control: Dealing with brackets in passwords

Hi. I'm using the standard asp:Login control, and we have a user who recently changed her password to include an angular bracket. When she tries to login, she gets an error message, and I get the standard 'dangerous request' exception. I know I can set ValidateRequest="false" on the page to negate this, but I was hoping someone knew o...

bean userList not found within scope, after some test of login functionality with Jmeter.

I have a web app (using Hibernate, and I cannot avoid that because is one of the point of the exam test ) for a university project in wich I need a login functionality. After I run some test with Jmeter (basicaly http get e post in the login) I found that after 20 test the webapp stop working returning this message : bean userList not f...

stay logged in in php application for +1 week

We have a php application written in zend framework and are wondering what would be the best way if we wanted to keep our users logged in for more than a day, e.g. a week or even more. Do we need sessions for that? (uses table space and memory?) or is it better to work with cookies? (security?) ...

How I can transform this scenario in GWT context

I have just started using GWT for web interface for our application. My app has three different views for three different types of users. Each user has different type of interface (i.e. different navigation different menus etc). There is one login page which will be index page of the application. The user shall enter the credentials an...

Last Login Ip of linked in user

Hi, is there a way to get the last login Ip of a certain profile in LINEDIN social networking. There is an API but I`m not very optimistic about that, any links or info would be appreciated. Thanks. Imran ...

Bypassing wi-fi login page on iPhone?

Hi guys, I'm thinking of developing a wi-fi login app (that saves passwords) for my school. Is there a way to bypass the login page (auto pushed when you hook onto a wifi network), and let user launch the app to do login instead Thanks. ...

How do i create an OpenID login form

i am wanting to create an open id login, i am wondering if i use one of the classes from Creating an OpenID Login widget, like openid selector library or openid real selector. btw, is realselector newer/better, since its a rewrite of openid selector library is there a getting started tutorial? i see that in both i can easily login using...

Are sessions faster than querying the database?

So for example, the user is logging in, and the system is storing informations about them example: birth date, so is faster to get this information from the session, or to query the database for it? My idea was, that the user needs to login just once and the session is always there, but If I query the database, then if the user reloads...

j2ee single login from just one ip address

I am using Glassfish V3 with filerealm. How do I ensure each username can only be login into one machine at any one time. I thought of using a hashmap datastore to store the remote address, but then it would means I would need to change all the struts actions to check if the user has already login and is not from another ip address. ...

"Remember me" functionality in Code Igniter

Its been a few months since I've seen any questions regarding this, but I wonder if anyone yet has found a solution / written a helper / model to solve this dilemma inside Code Igniter, rather than stray outside of its built-in sessions. Essentially, a login form is provided for the user, where they will enter their username or e-mail a...

What is the proper way of handling multiple account login from the same machine & browser?

I'm wondering if anyone knows how exactly Gmail, Hotmail, Facebook etc handles following scenario. (NOTE: Assuming Cookie is shared between tabs) Opens two login page to the application. User 1 logs in the domain. User 1 changes some data without saving it. User 2 logs in the domain in a separate tab. User 1 switches back to his tab an...

Can I attach a login form's username into the URL as a query string parameter?

I have a standard Login form <asp:Login ID="lgnExcel" DestinationPageUrl="login/data.aspx" OnAuthenticate="Login1_Authenticate" runat="server"> Is it possible to attach the Username as a query string with the DestinationPageUrl or reference the value in the code behind. I've tried lgnExcel.UserName.ToString() but coudldn't get to sho...

PHP OpenID Library that allows facebook / openid / twitter, etc;

I am looking for an already completed openid login library that I can just 'plug' into my application and allow for access using any of the openid, facebook, twitter, methods that you would see on many well accessible websites. An example would be Woot.com's login: https://account.woot.com/login?returnurl=http%3a%2f%2fwoot.com%2fdefaul...

Secure login with additional context information passed through (which also needs to be secure)

My web application will be launched through existing thick client applications. When launched, an HTTP POST request will be generated including information like the userID and additional context information (basically stuff like the target user's name, birthday, etc.). My plan for authentication is for there to be a look-up table in the...

Allow Enter key to login in asp.net?

I have a standard asp:login control: <asp:Login ID="mbLogin" runat="server" TitleText="" DestinationPageUrl="~/Default.aspx" PasswordRecoveryText="Forgot your password?" PasswordRecoveryUrl="~/LostPassword.aspx"></asp:Login> In Internet Explorer, pressing Enter does not submit the form, but IE beeps at me 10 times rapidly. In ot...

Login to a vbulletin forum using Java

As part of my dissertation thesis I have constructed a "bot" that crawls the official forum of the course Programming in C and searches for frequently asked questions in order to post a reply. I am at the part that I must simulate the login in order to be able to post the appropriate reply. The login form is as follows: !-- login form -...

How do I implement a login screen that uses TableView for an iphone application

Hi, I want to use a TableView for representing a Username/Password textfields dialog in a nice and grouped view. I figured the best case is to use the TableView and two cells for this. I kind of got lost in the implementation... Is there any built in cells for this that I am missing? ...

Facebook login window for Desktop application

I'm working on a desktop facebook application, to show facebook login window FB = window.runtime.com.facebook; fb = new FB.Facebook(); sessionHelper = new FB.utils.DesktopSessionHelper(api_key) The facebook login window doesn't show the full page height, and there's no scroll. Also, any clue why the sessionHelper.logout(); doesn't ta...