A long time ago, I wrote a little python script to automatically log me on to the wireless network at my office.
Here is the code:
#!/opt/local/bin/python
from urllib2 import urlopen
from ClientForm import ParseResponse
try:
if "Logged on as" in urlopen("https://MYWIRELESS.com/logon").read():
print "Already logged on."
else:
...
Hi,
I'm using Tomcat to deploy two web-services endpoints but on one WAR file (I used one WAR because the two endpoint implementations are calling one another).
How can I define different login methods to each endpoint?
I actually need two different custom realm for each endpoint...
Thanks
...
For a login system in php would this be a suitable outline of how it would work:
users types in username and password, clicks login button.
Checks if user exists in database,
if it does, then retrieve the salt
for that user
hash the password and
salt (would this be done on the
client or server side? I think
client side would be better...
Hi, I'm using Tomcat to deploy two web-services endpoints but on one WAR file (I used one WAR because the two endpoint implementations are calling one another).
How can I define different login methods to each endpoint? I actually need two different custom realm for each endpoint... Thanks
...
I have a site that uses a menu control tied to a sitemapdatasource which calls from a xml sitemap file. I want to add to this menu a Login/Logout control. Is this possible?
Dave.
...
We have an internal ASP.NET MVC application that requires a logon. Log on works great and does what's expected. We have a session expiration of 15 minutes. After sitting on a single page for that period of time, the user has lost the session. If they attempt to refresh the current page or browse to another, they will get a log on page. W...
I've created a login page and registration page and now I want to use that to password protect pages and have pages which show information specific to that user.
Would storing the user ID of the user logged in in a Session variable be a safe and correct way of doing this?
How easy would it be for a user to change the session variable t...
I want to log into https://www.t-mobile.com/ programmatically. My first idea was to use Mechanize to submit the login form:
However, it turns out that this isn't even a real form. Instead, when you click "Log in" some javascript grabs the values of the fields, creates a new form dynamically, and submits it.
"Log in" button HTML:
<bu...
I'm trying to figure out how Feedly does their login with Google link. Based on the redirect URL it passes I'd think it was a google service, but at the same time, the login page says it's not associated "Note: Google is not affiliated with feedly. Your password will not be shared with the feedly service".
Anyone know what exactly power...
I have implemented a LoginAccess class that prompts the user to enter their active directory username and password. Then I save the login data as an encrypted file. Every subsequent start of the application, the LoginAccess class will read the encrypted file and check against the active directory to see if the login information is still ...
Hi!
I want to make a form like this, and i want to post the form - with javascript - in all the keydowns.
<form action="{$formaction}" enctype="multipart/form-data" method="post">
<input type="text" name="n">
<input type="password" name="pw">
<button name="in" type="submit">enter</button>
</form>
please tell me how to do this.
...
Okay. So I went on a trip, came back, and suddenly, a website that I was working on is now asking for a username and password á la .htaccess. Thing is, I never made this happen and there is no .htaccess file anywhere to be found. Here is the site: link
I didn't buy the template from omegathemes.com, whatever that is. And when you go the...
<?php
$username = "@#*(#(*#($&*#$";
if (preg_match("/^[0-9a-z-A-Z-_@ !]*/", $username))
{
echo "true";
} else {
echo "false";
}
?>
...
How do many of the websites that have logins keep the username in the username field when the password is entered incorrectly.
The form's action (it is on index.php) is another php file, which if the password is incorrect uses Header() to go back to the index and passes the error to it using GET. I could use GET to pass the username back...
Hi,
We are starting a very large web based service project. We are trying to decide what hosting environment to use. We would really like to use Google App Engine for scalability reasons and to eliminate the need to deal with servers ourselves.
Secure logins/registrations is very important to us, as well as using our own domain. Our ta...
Ok so I am trying create a login script, here I am using PHP5 and mysqli, I would to ask if you could let me know why it keeps just returning "the error: your username and password does not match any in our db"? when I have created the an account and it clearly does? It's probably something obvious I've missed. Heres the code...
//Check...
Hey This is my login script, using PHP5 and MYSQLi, I just had help spotting errors in my query, but still it will not let me login, even though the username and password are correct and in the database, it just keeps returning the error: your username and password do not match any in our db. But I know they do lol...could any body spot ...
Hi,
anyone guide me opx api (its like rpx i think) for website login authentication as same in stack over flow.
currently im using drupal rpx module for my login purposes.
or guide me any opensource api same as of stack over flow login functionality.
Thanxs in advance.
...
I have a silverlight user control login page and want to implant a cookie with sliding expiration so that it can be picked on the aspx page during refresh.
Samples over the web shows fixed expiration, is there a way we can put a sliding expiration.
Or, How do you handle login refresh in silverlight client.
...
Hello,
I write a little Tool in C# with Visual Studio 2008.
My Problem:
I login to a website by HTTP-webrequest, I get an authentification cookie, thats all ok.
Than I make a new HTTP-webrequest and add the cookies from the first request to call the next page where i can see my personal data. I see that the cookies will associated wi...