Member Avatar
Hi i am currently building a admin section for my website but i am stuck at a certain point, right now my user authentication is working and my form validation is working great, when i log in as admin i want it to display the admin dash and when a …
by r00t3d in Web Development ()
Member Avatar
Hi guys i have simple captcha that seems to working but the only problem i have seems to be with the callback function on the validation have a look at the captcha: ... that all works fine the captcha genrates and displays nicely on the form but when i try …
by r00t3d in Web Development ()
Member Avatar
Hi all okay so when i click on my home page on my login button it takes me to my login screen that all works well but when i submit the form it just reloads the page and does not redirect to the page specified in my controller. Also the …
by r00t3d in Web Development ()
Member Avatar
Hello every one, I want develop an android application that should be implement seperate xml views for separate users when they are logged in. I don't know which package will be used in it and what are they called. And data of each user should be stored in cloud database. …
by umair jameel in Mobile Development ()
Member Avatar
Hi, I am working on an aplication which contains two different portals (admin and members). ... is used for the members login and ... is used for admin's login. When I log in into members and admins portal both works fine but if I logout from one portal another portal …
by peeyush.budhia in Web Development ()
Member Avatar
I have the following code in my php files, but i am having a following error while loading my page? "Notice: Undefined variable: username in C:\xampp\htdocs\fyp\cms\cms.php on line 48" My page is successfully loading up, but username is not being shown in the page and the error is popped up …
by engrjd91 in Web Development ()
Member Avatar
I am getting a very mysterious bug when I run my java website in Browser Mode: IE9 Compatibility View - the sessions stop working and I have no idea why. I don't think there is a tag or any code that I can include in my website that can force …
by thorin in Software Development ()
Member Avatar
Im developing a web chat and was wondering, when Im displaying recent messages how do I get individual usernames to display. For example: when i log in as a user and send a message, it shows that its from me, but when I log in as a different user, all …
by jessicam93xx in Web Development ()
Member Avatar
Member Avatar
Ok, I may be missing something very easy but when I submit and query the database the session doesn't set for some reason and I'm sent back to admin.php per instruction of my index.php file. Could someone please give this a look over, maybe it's a very simple fix, but …
by cheelo007 in Web Development ()
Member Avatar
can any body explain how to manage sessions in the pages that without login no user must access any page and if tries to access using browser address bar then redirect it's location to login page.....pls do reply what to check to manage this by using session......
by vinay7868 in Web Development ()
Member Avatar
Hi guys, i have an application that seats on a single webserver that depends on a third party application running mssql, so i use mssql over free tds. now i have to scale this site so i have to think about how to handle the sessions. i ma basically looking …
by cali_dotcom in Web Development ()
Member Avatar
I've looked everywhere and haven't found a clear step by step tutorial on how to secure sessions/cookies. Here are snippets of my code, i'd like to know how i can improve on session security to prevent fixation/hijacking and cookie safety. This is snippets of code for the user login system. …
by MDanz in Web Development ()
Member Avatar
Hello This is a simple php login script with sessions. It connects to mySQL for usernames and passwords. Iâm using a variation of the code from (index.php is the relevant part) Here is my code (my script is called login.php): <?php session_start(); // Always at the top include "conn.php"; // …
by Jaklins in Web Development ()
Member Avatar
Hi Im trying to create a web based quotation system with php and mysql. I wanted to create something like shopping basket where people store the items and when they click generate quote the system will display the quote of the items and qty selected. Only when the person has …
by t_thakar in Web Development ()
Member Avatar
Hello there i would like someone to have a peek at this code and does it solve the question correctly ?? Are there any mistakes or any improvements i could add ?? Also i struggle in this questions as i do not get it fully(in fact i dont get what …
by infinitus in Web Development ()
Member Avatar
Simple table like this CREATE TABLE IF NOT EXISTS ( int(255) NOT NULL AUTO_INCREMENT, varchar(25) NOT NULL, varchar(25) NOT NULL, PRIMARY KEY () ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=101 ; <?php session_start(); function insert(){ if(isset($_POST)&& isset($_SESSION['post_vars'])){ $insert_query="insert into users set username = '".$_SESSION['post_vars']['username']."' , password ='".$_SESSION['post_vars']['password']."'"; $result = mysql_query($insert_query); if($result) {echo …
by in4sys in Web Development ()
Member Avatar
Hi all, I have question about sessions in web services (VB). I created a function that allows me to login to my web service. I created a session here and added some values I retrieved from a stored procedure. The code will explain more :) <WebMethod(EnableSession:=True)> _ Public Function GebruikerLoginWeb(ByVal …
by selman555 in Software Development ()
Member Avatar
Hi all, I came to think of something in my code, which might cause a problem, but I am not sure. After a user of the site has succesfully put a product in the shopping cart - I set a session['cart_succes'] = 'something'; - to display to the customer (after …
by klemme 3 in Web Development ()
Member Avatar
Hello all, I've been having an issue with php variables recently. I don't have much experience working with sessions, but I know that domain.com and www.domain.com are viewed differently when working with sessions. The problem I have is with included files. I am calling .../logbook/header.php from ...logbook/Graphs/index.php. When I use …
by grant.baker 10 in Web Development ()
Member Avatar
Hi, I want to get information from each session set, EXCEPT when the session name is 'navigation': So basically: Create an exception for the session called 'navigation'.. foreach ($_SESSION as $name => $value) // $name = navn pÃ¥ session: f.eks. 1 eller 2 - $value indeholder antallet der er i …
by klemme 3 in Web Development ()
Member Avatar
My PHP Session Log-in and log-out works fine but this is the problem I have a site consists of admin folder and outside the admin folder are the customer page files. both of them has sessions for log-in and log-out purposes but it acts so WEIRD because if I'm running …
by masterjiraya -3 in Web Development ()
Member Avatar
On a new site I'm making, sessions are not working. They were working previously, and stopped without a single change of the code. Once a login goes through the verification, it runs: $_SESSION['uid'] = getIdFromEmail($email); getIdFromEmail is a function I built to get the user's ID from their email address. …
by AaronLLF in Web Development ()
Member Avatar
I have literally been banging my head on my keyboard out of frustration. I'm trying to display PHP sessions as values in my php form, but it's not going so well. here's what I have: <?php session_start();?><html> <head> <title>Create An Event</title> <style> label {float: left; width: 100px;} input[type=text],textarea {width: 210px;} …
by waveydaveywaves in Web Development ()
Member Avatar
I'm seeing a problem where some $_SESSION variables are passed from one page to another, and others are not. The session is setup on login, with user identity held in $_SESSION["id"]. At a later date, I want to shift the identity to another, subordinate account. The change is handled by …
by 140fulton in Web Development ()
Member Avatar
Hi, well im working on a project for school but I can't seem to get it to work. Its an app that is connected to a DB with 3 tables, this is my sql syntax of the db: Table structure for table CREATE TABLE ( int(11) NOT NULL AUTO_INCREMENT, date …
by usboy2903 in Web Development ()
Member Avatar
Hello. I'm wondering if someone could help me. I have a simple like/dislike voting voting system. Everything works fine but a user is able to click both up and down freely without checking if they have voted. So what I'm going for is 'Php sessions' because I dont want to …
by reco21 4 in Web Development ()
Member Avatar
Hey looking over sessions was confusing the hell out of me but I found my solution again on this forum... now I have a session that as a time out and 'logs out' the user after 10 mins so next time they try do something it takes them to the …
by Metophase 13 in Web Development ()
Member Avatar
Hi All, I am trying to create a form using sessions so that the submit button is only submitted once in a two minute duration. I need the form to still complete the onclick action so that a calculation happens, but I only want the mail() function to send an …
by virtuali in Web Development ()
Member Avatar
Hi guys! I got a problem with my logging in system. I can connect to my database with the code: session_start(); $db_found = mysql_select_db("dbusers", $con); Then I connect to the table and I want to retrieve the registered users details from the table "mytable" and then I want to greet …
by Phillamon 26 in Web Development ()