4,124 Topics

Member Avatar for
Member Avatar for surajmatekar

I Want to Store User Name and User Role In Some Way That I Can Used On My Every Page But I Have Already used Session And Cookies So Guys If You Have Any Diffrent Ways Then Show Me Please Thanks

Member Avatar for surajmatekar
0
100
Member Avatar for Zak84

Hi Friends, I have a web app developed using JSP and running under Tomcat Apache. The application works fine but when a big load of users is logged in at the same time, some users will get other user's session (the user is also currently logged in). What can be …

Member Avatar for masijade
0
44
Member Avatar for insanepenguin

Hello everyone! I've just started a module on Database Design & Implementation and was wondering if someone with experience of ERD's could take a quick look for me. Here is the scenario [QUOTE]Nightingale’s Nursery Nightingale’s is a private nursery organisation which takes in children from the age of one year …

Member Avatar for BitBlt
0
468
Member Avatar for jacob.irwin

I am getting the Error Registration message... why? [CODE]<? session_start(); include("database.php"); /** * Returns true if the email has been taken * by another user, false otherwise. */ function emailTaken($email){ global $conn; if(!get_magic_quotes_gpc()){ $email = addslashes($email); } $q = "select email from users where email = '$email'"; $result = mysql_query($q,$conn); …

Member Avatar for diafol
0
165
Member Avatar for oxenjo30

hi guys, i'm having this kind of problem Warning: Cannot modify header information - headers already sent by (output started at /home/deleted/public_html/affiliateomega.com/face-fans/style.php:4) in /home/deleted/public_html/affiliateomega.com/face-fans/facebook.php on line 378 i really don't know why what's wrong, i've already check if their is a space or blank line but i got no clue …

Member Avatar for oxenjo30
0
216
Member Avatar for weirdo71

Hi and good day, I have a piece of code im working on and is stuck on Select Sum statement which keeps returning a Conversion from type DBNull to type Decimal is invalid. Below is the code and Im working with a Access Database. Everything works good if the Batch …

Member Avatar for weirdo71
0
630
Member Avatar for bluetoot

hello people I Have this error mssg can anybody help me see what i am not seeing here that is wrong? thanks Parse error: syntax error, unexpected $end in /home/www/t.php on line 434 this is my php page [CODE]<?php session_start(); /****************************************************************************** * * * * * * ******************************************************************************/ /****************************************************************************** * …

Member Avatar for cilivili
0
261
Member Avatar for phplover

Hi, I basically have two functions; the first one below [b]GenerateFormTokenHash()[/b] is placed in a hidden field on my form and echoed out in the hidden field plus it stores the token in a session called [b]token[/b]. The second function below [b]IsValidFormTokenHash()[/b] is called straight after the check is made …

Member Avatar for phplover
0
229
Member Avatar for azegurb

hi all, i have registration script that registers user according their [B]user ID[/B]. if there more than one user id it returns false and says that this [B]user ID[/B] is taken. but if i submit different user ID and the same email address it accepts. how can i do that …

Member Avatar for azegurb
0
135
Member Avatar for jacob.irwin

This is common code and I've searched all of the forums and cannot find the answer to fix my problem. I created 3 pages: 1.) Login [CODE]<title>Login</title> </head> <? /** * Checks whether or not the given username is in the * database, if so it checks if the given …

Member Avatar for jacob.irwin
0
169
Member Avatar for pkty31

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.skynet.simpleHttpServer; /** * * @author Gryffy */ /* "Copyright (C) 2001,2005 by SkyNet Corporation \n"+ "\n"+ "Redistribution and use in source and binary forms, with or without\n"+ "modification, are permitted …

Member Avatar for masijade
0
471
Member Avatar for rajeesh_rsn

Hi friends, I m making a php user registration program and in some other sites I found some hidden field as follows [ICODE]<input name="authenticity_token" value="a58b64b916157840987d0655fe8ce14fecc030fd" type="hidden">[/ICODE] I m wonder what its really means ? Is it a dynamic value in which's value stored in SESSION and later it check with …

Member Avatar for ramlantjong
0
94
Member Avatar for jeffrey4u

I have chat application which am using webbrowser to display the chat session. I want to give the user the chance to save the chat session so i used the codes below which is working fine but i have realised is that when the webbrowser contain smiley or emotions it …

Member Avatar for AndreRet
0
143
Member Avatar for Imratzio

I created a admin page for adding editing and deleting items for making a e commerce site. Adding items is fine but can't seem to delete them. It does not show an error but I included a print_r($sql); and prints an error [CODE]<?php session_start();//works with session cookies, helps have persistant …

Member Avatar for Imratzio
0
2K
Member Avatar for matt.clark.228

I have on my website: index.php members/login.php members/redirect.php What i am trying to do is i have login point to redirect passing the login info from login.php. in redirect.php I want it to set all of the session variables that i will need everywhere else in the site, however, using: …

Member Avatar for smantscheff
0
129
Member Avatar for pickler

hi im working on a website in asp.net and i am a begginer in C#. i want to get rid of these nested IF statements ihave in the following function. can someone help me do this? thanks. [CODE] protected void btnUpload_Click(object sender, EventArgs e) //upload file function { //Condition for …

Member Avatar for lolafuertes
0
98
Member Avatar for Imratzio

Hey everyone I was hoping if you can help me fix errors on a admin login form im using. Heres the code [CODE]<?php session_start();//works with session cookies, helps have persistant data i.e. if user is not logged in there will be no session variable if(isset($_SESSION["manager"])){//if it does not set session …

Member Avatar for Imratzio
0
226
Member Avatar for Joshua Kidd

I Am making a simple Session Bot Controller for Microsoft Flight Simulator X, and thinking about most bots having usually Chat Commands. Well yes there is a chatbox in MSFX, the Question is how do I monitor the Chatbox to see if someone posts say maybe "!HELP" and the bot …

0
42
Member Avatar for saravana123
Member Avatar for teppel

Hi all, I kind of new in C++ and my assignment require me to do some encryption on data. Found the AES file online can anyhow guide me how to use it ? Because when i compile the test.cpp it keep giving me exception not match error. And btw how …

Member Avatar for pseudorandom21
0
512
Member Avatar for mdminternet

Hi guys, I'm not great with PHP and the guy I normally work with who does know a thing or too about it is on holiday. Currently, I'm having problems using a contact form mailer which returns the following error when it is sent. Warning: session_start() [function.session-start]: Cannot send session …

Member Avatar for ko ko
0
203
Member Avatar for ryathegr8

hi i am doin with Employee Management System... scenario is when Emp login Employee Name is stored in session[UName] variable and redirected to the employee home....there when he choose to view his profile, query it using sesseion variable.... code is given below: [CODE]string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new …

Member Avatar for ryathegr8
0
117
Member Avatar for chrisglasier

I have made a couple of preliminary versions of a web machine as an HTA and as a web dialog plug in for Google's Sketchup. The machine has moving sliders (hence machine) that get populated with names of real objects in a hierarchical structure set by the user's associations e.g. …

Member Avatar for chrisglasier
0
254
Member Avatar for tcollins412

i am writing a website that loges somebody in by cookies. i want to make it so if the person goes to the main page, (index) but did not log out from their last session it redirects them to the members page. how would i do that? also, how would …

Member Avatar for Stefano Mtangoo
0
118
Member Avatar for ballchain

Hello All! This is my first post, as I just joined this forum after finding lots of information about my problem, but no actual solutions... Same basic issue as most, but I've tried everything, and nothing is working! 1. User Logs in - upon authentication, user is taken to "member's …

Member Avatar for ballchain
0
129
Member Avatar for dudzkie

hello! question, i want to unset all the session that i created on my script except for 1-3 sessions, can i use [B]session_destroy[/B] to unset those sessions and exempt the 1-3 session that i dont want to be unset? thanks!

Member Avatar for diafol
0
69
Member Avatar for erum

see teh code [CODE]<asp:DataList ID="DataList1" runat="server" Width="200%" > <ItemTemplate> <h4><asp:Label ID="DAtes" runat="server" Text='<%# Eval("date") %>'></asp:Label></h4> <asp:GridView AllowPaging=True ID="GridView1" runat="server" DataKeyNames=sessionid AutoGenerateColumns="False" CellPadding="4" Width="697px" style="margin-right: 0px" ForeColor="#333333" GridLines="None"> <RowStyle ForeColor="#333333" BackColor="#F7F6F3" /> <Columns> <asp:TemplateField HeaderText="Availability"> <ItemTemplate> <asp:CheckBox ID="chkgfln" Enabled=true runat="server" Text=Available /> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="sessionid" DataField=sessionid /> <asp:BoundField HeaderText="userid" DataField=userid …

0
170
Member Avatar for SunnySideUp

Hello, I am just starting out with ASP.Net using VB.Net. I am trying to build a football website for my football club that has a backend CMS system. I have the database designed with primary and foerign keys in SQL Server 2005. I would like some help to: 1) Insert …

Member Avatar for questpond
0
217
Member Avatar for sonia sardana

Hey frnds plz reply of mine questions.I want to just confirm my answers.Plz reply it by today only if poss.bz tom is my another interview [B]1)[/B] How to Delete Dynamically Allocated Array? a) delete a[] b)delete a[0] c) delete[] a d)delete [0] a [B]My answer a.Correct or not[/B] [B]2)[/B]Can we …

Member Avatar for questpond
0
353
Member Avatar for holmiboii

Hallo daniweb!, Im new here *hehe* anyway I've been working on our companys website for a while now but I just cant get it to work... the error is @ the 26:th line. btw we're using: Cirtex hosting the defination "myusername" and "mypassword" is in the prev. .php file (main_login.php) …

Member Avatar for holmiboii
0
236
Member Avatar for Imratzio

Hi all. Im building a shopping cart using an online tutorial in youtube, but i have an error [CODE]<?php if(isset($_GET['action']) && $_GET['action'] == "add"){ $id = intval($_GET['id']); if(isset($_SESSION['cart'][$id])){ $_SESSION['cart'][$id]['quantity']++; } else{ $sql2 = "SELECT * FROM products WHERE id_products=$id"; $query2 = mysql_query($sql2); if(mysql_num_rows($query2) != 0){ $row2 = mysql_fetch_array($query2); $_SESSION['cart'][$row2['id_products']] = …

Member Avatar for Imratzio
0
247
Member Avatar for samarinder

I am displaying the results by iterating the list in div tag say "results" in my case.For refining of search i am using ajax call. But when i am getting response back from this below snippet [CODE] document.getElementById("results").innerHTML=xmlHttp.responseText;[/CODE] . Its showing me content of JSP in which i am refining …

0
93
Member Avatar for bluetoot

Hello good ITz This is my last resort,I've checked threads but saw no answer to my question,I blieve you good people will help me out This are my existing forms, i want to add a multiple file upload system to it for each user that signs up as shown below …

Member Avatar for smantscheff
-1
178
Member Avatar for jrotunda85

I am trying to define and pass through (I think that's the term) a variable from my login page to other parts of my site. Right now, the user logs in providing their username/password combination and those variables are able to be used. What I want is if a login …

Member Avatar for pixelsoul
0
247
Member Avatar for jrotunda85

Hey everyone, I'm relatively new to PHP coding and I have a question I've been having trouble finding the answer to - it may be I'm not sure [I]exactly[/I] what I'm needing or what it's called. I am trying to create a very rudimentary login in system where users will …

Member Avatar for jrotunda85
0
208
Member Avatar for bluetoot

Hello good ITz This is my last resort,I've checked threads but saw no answer to my question,I blieve you good people will help me out This are my existing forms, i want to add a multiple file upload system to it for each user that signs up as shown below …

0
62
Member Avatar for devinodaniel

Hello friends, Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums. Here's my scenario: I …

Member Avatar for devinodaniel
0
1K
Member Avatar for keyroche

Hello all! I am making a web application that allows someone to create a website through the various steps of the app. The system is based on templates, that a user picks and then chooses the content to go into it. I have all the info stored in a session …

Member Avatar for sDJh
0
621
Member Avatar for SBA-CDeCinko

I have a page that displays information about a person and contains a "contact me" form. I don't want anyone to know the email address of the person, that's the reason for the form. My submit button executes some code behind to send the email message. How can I securely …

Member Avatar for Momerath
0
109
Member Avatar for joban.ali

I want to use sessions to identify if a user is signed in. If user is signed in they should be directed to their own profile. If the user is not signed in then the user should be taken to the login page. on my header I have options when …

Member Avatar for joban.ali
0
120
Member Avatar for Ignatius88

[CODE] <script> var xhr = null; function createRequest() { if(window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else { xhr = new XMLHttpRequest(); } } function sendRequest(url, param, callback, method) { createRequest(); var httpMethod = (method!='POST' && method!='post') ? 'GET' : 'POST'; var httpParam = (param==null || param=='') ? null : …

0
74
Member Avatar for Ender330

Hello, I am trying to fix this problem with my site. If any can please help me and let me know how I may fix the problem or find what is causing the problem. Thanks Warning: session_register() [function.session-register]: Warning: session_start() [function.session-start]: Cannot find save handler 'memcache' - session startup failed …

Member Avatar for Ender330
0
209
Member Avatar for mad_pierrot

Hello everyone, I'm trying to create a PHP cURL script that does two main things. 1) Login to website (works) 2) Export table as CSV (doesn't work) To export the table as a CSV, two things need to be selected. Which table I want to export, in this case customers, …

0
138
Member Avatar for mackemforever

I've been set in a lab session at University the task of creating a program which can perform one of a variety of calculations, with it performing the one specified by the user, and with it looping back after every calculation however it is the looping which is causing me …

Member Avatar for chrjs
0
149
Member Avatar for dourvas

Hallo, I have made a login system using sessions. It have been working fine for 3 months. The last week some problems are occuring. First let me write the code i use. There is a mysql database which contains all the data necessary. There is also a form which the …

0
113
Member Avatar for komanche

Hi all am having problems with my login forms. I have written the code and has no errors, but when I run it from my browser i get "Warning: mysql_query() expects parameter 2 to be resource, null given in C:\xampp\htdocs\nicks\includes\database.php on line 269" I have a "MySQL Table with Members …

Member Avatar for divyakrishnan
0
52
Member Avatar for Fasola

Could somebody give me a basic network and list how the OSI model was used, I would appreciated it???? I've studied on my own, in theory i know what it is, but I am clueless as to how I am suppose to apply it. This is what I know... Layer …

Member Avatar for smferoz
0
1K
Member Avatar for tcollins412

how do you change the timeout of a session? can you do something in the php.ini?

Member Avatar for Stefano Mtangoo
0
88
Member Avatar for maxbalboa

Hi Everyone, I got a strange problem with session. Session variables that I define in a page with "www" prefix in the domain name for example http://www.foo.com/page1.php for some reason can't be recognized in page2.php if I remove the "www". But if I use "www" like http://www.foo.com/page2.php, it works just …

Member Avatar for mayureshgoyal
0
572
Member Avatar for snehal jirage

The End.