Hey,
well I'm reading the fb connect tutorial here
http://wiki.developers.facebook.com/index.php/Facebook_Connect_Tutorial1
The problem I'm having is near the end of the tutorial, it's saying do do this
<script type="text/javascript"> FB.init("apikey","xd_receiver.htm", {"ifUserConnected" : update_fbuser}); </script>
as oppose t...
Hi Friends,
Details of the problem:
There is one page which is actually a streaming to The Axis IP camera which spits MJPEG output
It requires user to log in with the user name/password promp on browser
I am using this stream to show video directly on a web page
It shows video correctly but asks user to provide correct user name and ...
I have just started PHP and mySQL and need to know if this is "safe". The login information is passed into the following PHP file through AJAX (jQuery).
jQuery AJAX
$("#login_form").submit(function(){
$.post("login.php",{user:$('#username').val(),pass:$('#password').val()} ,function(data)
PHP
ob_start();
mysql_connect("-", "-", ...
I am using SimpleHtmlDOM PHP quite successfully to scrape some of my favorite webpages. Some of these pages, however, require me to log in before I can get at the information that I really care about. Does anyone know how (or if it's possible) to get this library to access a page that requires a username and password be enterred before y...
I am trying to build a very simple app, but it's turning out to be a much more difficult task
than one could imagine.
I need to use a simple User Interface , with the basic two text fields,
UserName & PassWord (done), and once the login button is depressed, it logs into gmail
(or any corporate Gmail account) via an https POST (I think ...
Does any one have have some PHP login curl code for SMF version 1.1.11
I tried and it logs then when I check the curl output, but when the broswer loads, they are no longer logged in
My code
function login($data)
{
if(function_exists('curl_init' )) {
$_SESSION['old_url'] = $_SERVER['HTTP_HOST'] .'test';
// smf nee...
I am creating a custom cookie and have overloaded the Iprincipal class and all that good stuff. My cookie works correctly and I am able to retrieve the roles of the users successfully, but the admins have to reload the default page after just logging in to see the admin only button. Once they visit a new page on my site and return to the...
Is there an argument to be made for/against checking for authentication in every JSP? Maybe via a custom tag or some such thing.
The argument that I am hearing is that it is useful to show different content based on the user authentication state.
If I use a filter or container managed security that means I can protect a set of director...
Is it possible to use a session variable, then unset it directly after?
Example:
//====
//Process Form
if ($_POST['Submit']) {
$update = $userSettings->update($_POST);
//If there are form errors
if (!$update) {
//Load the errors into an array
$errors = $update[1];
} else {
//Set the session
...
I am using a PHP login script that challenges user for username & password.
Once authenticated program stores a session value. On logout, session value is
set to blanks.
Here is the problem:
In IE 8 (not Firefox), user can hit back button a few times until the
screen which shows "Web Page has expired" message. This is likely the logi...
Using Asp.Net MVC 1, I have my "log on" control/page...I check the "remember me" checkbox and hit submit.. in my controller I have:
FormsAuth.SignIn(userName, password, rememberMe)
This method creates the persisted cookie .ASPXAUTH and everything is good at this point.. I put a breakpoint in other controller, and I noticed that once I...
Hi
i want to login to Vbulleti**n Forum and save the first Topic of one thread which is in the
" " html tag using **Java.
i search the web and found many libraries that could login like httpComponent-Client, but i dont know how to get the data that is in the div . i need you to guide me on whole process and how to start.
i think i should...
I'm just getting in to MySQL and PHP--and I'm just trying to create a simple login system for a project we're testing. I've connected and created the login logic just fine, but now I can't for the life of me get the session variables to carry over to the new pages. Could someone please show me the correct way to do this?
Here is my lo...
I can do login realm in PHP and the way that I do it is by setting a session variable and check whether that session variable is set or not. On every restricted page, I check whether a certain session variable is set (or is equal to a certain value). If not, then i will send the user back to the login page. Is this the best way to do it?...
I have a loginbar that can be used to login to 2 different systems depending on what value a user chooses from a dropdown. And then, I provide default values to fill each textbox depending on which login is chosen by the user. However, to make things easier for the user by clearing the default contents when the textbox receives focus, an...
Has anyone ever tried to use SHA-256 or SHA-512 with PEAR AUTH?
MD5 works perfectly however, nothing happens when you set the cryptType to
'cryptType' => 'sha256'
The page will just reload. I'm using MDB2 With this.
Code is here: http://pastie.org/1065896
...
StackOverflow does openid well and Quora does the Facebook connect and Twitter well....but one problem I had with Quora is that I can either login with my Facebook or Twitter account, but not both, so there is no way to import friends from both under the same account. Which is what lead me to ask here, in case there are other sites with...
Hi friends,
I am working in login/logout from my current application in iphone sdk. I am using many constant value in my application in various view controller. is it possible dealloc all values at final view controller?
Any suggestions? Thanks in advance
Regards,
sathish
...
My web application has a login-config such as this:
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Some_Realm</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/logerror.jsp</form-error-page>
</form-login-config>
</login-config>
This project is now a part of a group of web apps...
Im building an online community with Drupal
Ive got the logintobbogan module installed which allows the user to login with username or email address
I dont want users to have to select a username, is there any way I can remove this option, or have it automically chosen/hidden
I will add fields for Firstname and Surname to the profile ...