4,124 Topics
![]() | |
Dear Daniweb Team, I face memory leaking problem while sending mail automatically when user advertisement expire date(i.e,26 days) was expire..Mail functionality was working when it expiry days come to 26.But it shows following error. It shows an Error Like:: pergem space out of memory leaking. I request u people past … | |
Hi all, I have a website hosted in a shared webserver. The problem iam facing is that the sessions get expired unexpectedly which results in the logging out of the user. The problem does not happen when I run the application locally in my system. On contacting my vendor he … | |
Hi guys I'm new at JSP, and I've to run an ex-collegue software. It's Java + JSP, usin' Apache Tomcat. When I run Tomcat and I try to open the Default.jsp page, here's what appears: [code=jsp] HTTP Status 500 - type Exception report Description: The server encountered an internal error … | |
Hello all, Today I received this as my error: Parse error: syntax error, unexpected T_STRING in /home/a8712935/public_html/admin_members.php on line 60 I've looked all over the internet but I can't find a solution to my problem. There is nothing wrong with that line, but I think it is a problem with … | |
Basically I have to create a website for this community project our class in school is doing. It is coded in entirely php and html because I hate writing javascript. Cut to the chase, there is a photo gallery and a semi-secret log in that you can log into for … | |
Hi everyone! I'm dealing with an online test that has 100+ questions and I would like a way to: a) turn all $_POST into $_SESSION automatically b) clean the data c) encode it a) I found this but it makes the form fail [CODE] if(isset($_POST) { foreach ($_POST as $key … | |
Hello! I am trying to understand how i could make a profile page for each of my members. They all got an unique folder and i need to make something for the index. I was thinking...can i get the last word in [url]www.example.com/u/user22[/url] and compare "user22" to the $_session['username'];, and … | |
I have just downloaded and installed Fedora 13. I need to connect to this system through a telnet and/or ssh session. However, I do not have any idea what needs to be done to accomplish that. Anyone out there who can help? | |
Hi everyone. I want to create a crawler with perl and run it on crowntab. The program should use DBI and DBD::Oracle to insert data into my database. When crontab runs it, I get the following error in my mail box. Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open … | |
Hello all i'm having a hard time trying to pass parameters to a gridview while updating. lets say that when i try to update, i use the RowUpdating method of the gridview to pass the values i want manually, Why? because there are 3 fields i'm not showing the user … | |
Hi, I have a router through which I set up RDP connections. There are only XP machines and when I connect to one of them I can see the normal blue RDP window and after a few seconds the session disconnects and if I try connecting immediately there is an … | |
Good Day All I have a web Method defined like this [CODE] [System.Web.Services.WebMethod] public static bool CheckSessionExpiration() { System.Web.HttpContext.Current.Session["CurrentLoginUser"] = null; //This is for Testing Purpose if (UserSecurity.GetLoggedInUser() == null) { return false; } else { return true; } }[/CODE] and in Jquery i have a function that calls this … | |
Hi I am trying to get this function to work but having issues [CODE] // check that policy number not entered on the DB if no policy is entered skip Mysql query function validatePolicyNumber($PolicyNumber){ //Return Session Value so user does not have to retype entry return $_SESSION['PolicyNumberAdd'] = $PolicyNumber; $Connection … | |
i've successfully developed a page where i can echo a `$_SESSION['SESS_MEMBER_ID']` and display the member id of a person who is logged in. however i need to display all the data of two mysql databases that are relational. $sql = "SELECT * FROM `members`.`players` WHERE `member_id` = 3 LIMIT 0, … | |
I have created a login system with some validation which all works fine, however I want to be able to create a session when the user logs in and then store this session information in a table that I have allready created. The table has the following values id ip_address … | |
HI, I would like to load a aspx page based on a session parameter. I have a "login name" in the session parameter and i want to show this aspx page if the "login name" session parameter matches a particular "login name" How can i do this? Thanks in advance. | |
hey guys I just implemented some AJAX which calls a PHP function and gets random data from a database, and displays it accordingly. Problem is, I had the link which you click the randomly change the information on screen counting how many times it'd been clicked with a session. And … | |
Hello python experts! I have a simple script that sends an email with no problem, in order to interface with vb6 I'm tried to modify the entire code into COM service...but I'm having trouble with this error..global name 'MIMEMultipart' is not defined which is on the send_email method. any help … | |
Hi, I have the code below for a login script. I not finished it yet and i moved from Dreamweaver to Netbeans a while ago and all my code has lost it's indentation and formatting. I am missing some curly bracelets i am sure of it but cannot find where … | |
i am trying to register 2 sessions. one is supposed to get the id of the user logging in, the other is supposed to get the persons username. here is the login page: [CODE]<?php session_start(); include "dbconnect.php"; $myusername=$_POST['user']; $mypassword=$_POST['pass']; $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $myusername = mysql_real_escape_string($myusername); $mypassword = … | |
hello , i am going to build a web site in which i want to transfer the session variable value from master page to other page i try some code like i have use session variable in master page in button click event [code=.aspx] Session["name"] = txtemail.Text; Response.Redirect("userpage-1.aspx"); [/code] now … | |
Hi all, i need help in unsetting session variables through ajax thanks in advance | |
I've been having a bsod problem on my gateway laptop as of yet i have only been able to boot to safe mode GMER 1.0.15.15530 - [url]http://www.gmer.net[/url] Rootkit quick scan 2011-01-12 03:28:13 Windows 6.0.6002 Service Pack 2 Harddisk0\DR0 -> \Device\Ide\IdeDeviceP1T0L0-2 WDC_WD800BEVS-22RST0 rev.04.01G04 Running: jid6u70i.exe; Driver: C:\Users\owner\AppData\Local\Temp\kglcapow.sys ---- Devices - GMER … | |
Hi, There is something wrong with my code. I can't seem to access the database anymore not can I add new data information. I am suppose to create a registration form with username and password. Then save it to a database on MS Access. Then login using the login form. … | |
Please see php script below. When I log in, the screen goes blank and on the same /login.php web page. If I enter a wrong password, it will tell me it is wrong, and I registered and activated the user/password successfully. It is just when I login in, it doesn't … | |
Hi again, I'm stumped. I'd like to store results from a questionnaire in a multi-dimensional session variable to tally the number of questions answered after the entire questionnaire is completed. Users choose selections from checkboxes, so I have that info coming from an array. I was hoping I could just … | |
hi, basically i have this function. [code] function showDetail(checkBoxShipmentId) { xmlhttp = GetXmlHttpObject(); // this calls function below if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="detailBackend.php"; url=url+"?shipmentid="+checkBoxShipmentId; //?shipmentid = value of the checkbox, which is the shipmentid url=url+"&ran="+Math.random(); if(xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); … | |
Hey Guys, So, I've successfully created my own little CMS ... but, I'm stuck on something. I want to be able to manage other users, but more specifically want to know WHEN they are online and WHEN they aren't online. This is the session I'm creating to authenticate the user: … | |
gud day to everyone..im just new in web development..i just want to ask whats the problem if this error occurs: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zymichost.com/e/p/u/epurchasing/htdocs/index1.php:7) in /www/zymichost.com/e/p/u/epurchasing/htdocs/library/config.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - … | |
Well what this code is supposed to do is create a session when you log in successfully. Then direct you to the member page. Which it does ok. Then when you click logout it destroys the session. My code should, if you are not logged in and go to the … | |
Hey, just got this contact form working, but had an email from the guy with the server, and he says he got the emails as well...which I thought was quite odd. Now I have no idea why it'd do this so I was wondering if one of you guys could … | |
My code is this: <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) { header("location: access-denied.php"); exit(); } ?> and I am facing this warning, when I login succcessfully: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already … | |
Could any one provide me a simple login page in coldfusion , which uses SESSION AND COOKIES. And while copying the URL (I mean URL after successful login) to another browser it should point to login page.This will be much helpful. | |
Hello, for a while now I have been studying file uploads. I have 2 scripts, 1 creates a folder for a user and store the image in it. The other resizes the image and stores it inside another folder. What I would like to do is combine both scripts in … | |
Any one help regarding this code... i used <%@include file=" "%> directive code..the code is executing well...but this include code nt working i.e it is nt executing..but simple code with include working well plz plz any one provide me the solution very soon [code=JSP]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" … | |
Hi all, In my site, there is timeout session 30 minutes. After 30 minutes as I press on logout. Exception([I]Validation of Mac fialed.If thos applicationis hosted by a web farm or cluster,ensure that <machinekey>configuration specifies the same key and validation algorithm.Autogenerate cannot be used in cluster.[/I]) occurs in my page … | |
Hello guys, First of all I'm not really good with Java. To be honest I'd rather call my Java skills bad. But here comes my problem. I want to download a CSV file from a specific URL and save it at the TEMP directory. Then i want to read this … | |
hi i have problem in treeview. i create a program in asp.net and use treeview in master page. i have checkes as follows [code] Protected Sub TreeView1_TreeNodeDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.TreeNodeEventArgs) Handles TreeView1.TreeNodeDataBound If Strings.InStr(e.Node.NavigateUrl.ToString, "?") > 0 Then e.Node.Target = "_blank" End If Select Case e.Node.Text … | |
Hi. I am trying to run an EJB through bea weblogic 8.1 server. I am trying to create a Stateless Session bean. I have created two jars and when I try to do a hot deployment, I get a server error. please see the error description below: [COLOR="Red"]Exception:weblogic.management.ApplicationException: prepare failed … | |
Hi all, I'm new to the software package and have written a simple code to turn LED's on/off using a Micro Controller device. When away from the Micro Controller, it would be handy to view the bit orientation (turning on/off) on the computer screen, without the actual device to hand. … | |
Lately I have been learning how to use 'sessions' (with some degree of success) for transferring parameters between pages. I have come across a new error report that is so weird that I would not be able to envision how I could do a Google search to find what is … | |
I am very new to the world of PHP and MYSQL programming and have run into a roadblock. I am trying to program an admin area of a site i am working on and am coming up with the following error when the page is loaded [QUOTE]Parse error: syntax error, … | |
i cant install adobe photoshop CS5 Extended .. it gives error like this Exit Code: 6 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 43 error(s), 41 warning(s) WARNING: The payload: Adobe Photoshop CS5 Core {7DFEBBA4-81E1-425B-BBAA-06E9E5BBD97E} requires a UI parent with following specification: Family: Photoshop ProductName: Adobe Photoshop CS5 Core_x64 This … | |
Good Evening: I am trying to implement session management on a website I am building with coldfusion. Currently, the site authenticates via IIS 7 using the "Requires Authentication" setting that requires users to log into the web server before any page is served. This, however, is not ideal. It appears … | |
Hi fellow programmers, i am designing a Student management system with PHP MySQL and using dreamweaver for editing. I need to do audit trails; that is to capture every operation any users does on my website. I was able to capture the logging in using the codes below but i … | |
Hi i have scripts that redirect page for language settings thanks the guy who helped me sorted out my first problem now i am facing another problem there is a script working in [url]www.server.com[/url] if you type only [url]www.server.com[/url] now i created function and if you type [url]www.server.com?redir=1[/url] this function … | |
hey everyone.! i have a n application where i have a color picker (jquery) i will get the value the user choosen color . then i will put that into to session variable. Now i want the contents of the external stylesheet to be modified based on the color which … | |
[code]<?xml version="1.0" encoding="ISO-8859-1" ?> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="javax.servlet.http.*" %> <%@ page import="org.apache.commons.fileupload.*" %> <%@ page import="org.apache.commons.fileupload.disk.*" %> <%@ page import="org.apache.commons.fileupload.servlet.*" %> <%@ page import="org.apache.commons.io.output.*" %> <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <%@ page import="javax.mail.internet.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
im havin trouble gettin my login.php file to work. what happens is i register and all the information goes into the database then once registered its supposed to say thanks for registering but doesnt, so i thought never mind il just login, i go to the login page enter my … | |
I have a problem with passing session variables between folders. I have a working login, and several session variables are created after a successful login. The session works fine until I try to use a script that is located in a different folder or directory. All of my scripts include … |
The End.