3,454 Topics

Member Avatar for
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
79
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
222
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
143
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
162
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
116
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
65
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
116
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
581
Member Avatar for snehal jirage
Member Avatar for uma.kotha89

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 …

Member Avatar for masijade
0
145
Member Avatar for AngelicOne

I have three forms, the login form, main menu, and user profile. When a user logged in and clicks the user profile button from the main menu, the information of the logged in account must display. I do it by passing the username from the log in form to the …

Member Avatar for Mitja Bonca
0
120
Member Avatar for callingbells

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 …

Member Avatar for bguyb
0
55
Member Avatar for phouse512

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 …

Member Avatar for Shanti C
0
173
Member Avatar for zizuno

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 …

Member Avatar for nuttyniall
0
106
Member Avatar for ddellostritto

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 …

Member Avatar for nuttyniall
0
622
Member Avatar for Sorcher

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 …

Member Avatar for nuttyniall
0
183
Member Avatar for StaffanB

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?

Member Avatar for fgdgd
0
320
Member Avatar for dmatos

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 …

0
60
Member Avatar for Red_Indian

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 …

Member Avatar for Red_Indian
0
109
Member Avatar for vuyiswamb

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 …

0
77
Member Avatar for fabzster

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 …

Member Avatar for fabzster
0
118
Member Avatar for waveydaveywaves

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, …

Member Avatar for waveydaveywaves
0
171
Member Avatar for lit108

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 …

Member Avatar for ice_k99
0
207
Member Avatar for purell

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.

Member Avatar for kvprajapati
1
294
Member Avatar for ello

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 …

Member Avatar for lordspace
0
64
Member Avatar for phplover

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 …

Member Avatar for phplover
0
215
Member Avatar for tcollins412

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 = …

Member Avatar for kohyar bolvary
0
152
Member Avatar for john_beginner

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 …

Member Avatar for serwan Gupta
0
135
Member Avatar for aitha
Member Avatar for codewall
0
50
Member Avatar for emen24

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 …

Member Avatar for emen24
0
128
Member Avatar for concordia

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 …

Member Avatar for keyroche
0
2K
Member Avatar for brown23

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: …

Member Avatar for chrishea
0
139
Member Avatar for ebookstores

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 - …

Member Avatar for rififi
0
123
Member Avatar for AndrewSD

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 …

Member Avatar for madCoder
0
119
Member Avatar for ello

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 …

Member Avatar for ello
0
392
Member Avatar for chandaboy

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 …

Member Avatar for Plyswthsqurles
0
117
Member Avatar for fiju

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.

0
86
Member Avatar for phpDave

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 …

Member Avatar for phpDave
0
163
Member Avatar for saics

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.*" …

Member Avatar for peter_budo
0
181
Member Avatar for Nitin Daphale

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 …

Member Avatar for Nitin Daphale
0
130
Member Avatar for qader

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 …

0
57
Member Avatar for amitbhanot

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 …

0
77
Member Avatar for EmbeddedHelp

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. …

0
93
Member Avatar for billmudry

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 …

Member Avatar for billmudry
0
177
Member Avatar for riverbay_media

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, …

Member Avatar for karteek.vemula
0
77
Member Avatar for phpcode

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 …

Member Avatar for sdow
0
1K
Member Avatar for styleest

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 …

Member Avatar for styleest
0
115
Member Avatar for michael1999

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 …

Member Avatar for tiggsy
0
199
Member Avatar for yopirates

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 …

Member Avatar for jpietrangelo
0
104

The End.