4,124 Topics

Member Avatar for
Member Avatar for abhi10kumar

I am using Jquery Popup-Form to send coupon code (which came from database) on email and through SMS. I am using to store couponcode in a session; but the page called by Jquery is not showing the value of session, I wrote session_start() at the top on both pages, still …

Member Avatar for aquilax
0
106
Member Avatar for MrBlack

[CODE] Session.Abandon(); Session.Clear(); Session["user"]=null [/CODE] i m trying to clear a Session but these methods are not working..how can i clear this Session plz help me.. thnxx

Member Avatar for prit005
0
84
Member Avatar for Ajuddy

i dont why i can't access my servlets. i have followed the configuration to the end but still cant get through. the following are my .xml files. well i dont have a problem accessing the server, but the problem is my servlets wont run i keep getting "the requested resource …

Member Avatar for Ajuddy
0
637
Member Avatar for jacob21

Hi, I am working on login form.When i redirect a page its showing an error given below. Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\job\login.php:49) in C:\xampp\htdocs\job\login.php on line 50 need help. Thanks [CODE]<?php //Start session session_start(); $host="localhost"; // Host name $username="root"; // Mysql …

Member Avatar for riseguim
0
236
Member Avatar for deb0and

Not sure what this error means "NameError: global name 'sessionid' is not defined" Any help would be greatly appreciated. Below is the code [CODE]import sys from socket import * import re import os from time import sleep print ("[*] BY THE POWER OF GRAYSKULL - I HAVE THE ROOTZ0R!\r\n" "[*] …

Member Avatar for deb0and
0
878
Member Avatar for ibakir

Hey :D , take a look [url]http://www.dalilack.com/marketList.php[/url] click edit on the orange button EX : [url]http://www.dalilack.com/marketFormUpdate.php?Id=11[/url] the id of that user is 11, you can use 'hoho33' as a user name & 'shityshit' as a pass now you notice there's info for each member , and in order when that …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Dragonbaki

Hi guys.. Can anybody tell me about how to increment default session timeout(20 mins) in dot net..? It's urgent.. Hope anybody will help me.. Thanks in advance...

Member Avatar for Dragonbaki
-1
151
Member Avatar for ibakir

i would like to write a function if that user id who do a post equal the same user id who logged in then he can after a while edit again his own post , then if its match go to the update page to make the edit ; [url]http://www.dalilack.com/marketFormUpdate.php?Id=11[/url] …

0
177
Member Avatar for Miklo_jan

[B]Hi guys, Well I just reinstalled vBulletin 3.8.6, on top of the other. I tried to make a new THREAD, after posting it says:[/B] ___________________________________________________________________ Database error in vBulletin 3.8.6: Invalid SQL: UPDATE session SET newposts = newposts+1 WHERE NOT ISNULL(newposts); MySQL Error : Unknown column 'newposts' in 'where clause' …

Member Avatar for pritaeas
0
390
Member Avatar for smartness

[QUOTE]Database error in vBulletin 3.6.8: Invalid SQL: UPDATE session SET newposts = newposts+1 WHERE NOT ISNULL(newposts); MySQL Error : Unknown column 'newposts' in 'where clause' Error Number : 1054 Date : Saturday, September 22nd 2007 @ 11:19:12 AM Script : [url]http://gjilaniforum.altervista.org/forumi/newthread.php?do=postthread&f=91[/url] Referrer : [url]http://gjilaniforum.altervista.org/forumi/newthread.php?do=newthread&f=91[/url] IP Address : 82.114.72.186 Username : …

Member Avatar for Miklo_jan
0
239
Member Avatar for msaqib

[HTML][/HTML] [CODE][color=#0000ff]using[/color][color=#000000] System;[/color] [color=#0000ff]using[/color][color=#000000] System.Collections;[/color] [color=#0000ff]using[/color][color=#000000] System.ComponentModel;[/color] [color=#0000ff]using[/color][color=#000000] System.Data;[/color] [color=#0000ff]using[/color][color=#000000] System.Data.OleDb;[/color] [color=#0000ff]using[/color][color=#000000] System.Drawing;[/color] [color=#0000ff]using[/color][color=#000000] System.Web;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.SessionState;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.WebControls;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.HtmlControls;[/color] [color=#0000ff]namespace[/color][color=#000000] lms[/color] { [color=#808080]///[/color][color=#808080]<summary> [/color][color=#808080]///[/color][color=#008000] Summary description for inc_search_books. [/color][color=#808080]///[/color][color=#808080]</summary> [/color][color=#0000ff]public[/color] [color=#0000ff]class[/color] inc_search_books : System.Web.UI.Page { [color=#0000ff]protected[/color] System.Web.UI.WebControls.TextBox Q; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Button Button1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Label …

Member Avatar for deepakjoy
0
2K
Member Avatar for barriegrant1

im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> …

Member Avatar for barriegrant1
0
533
Member Avatar for komyg

Hi, I am deveoloping a Web Service solution that is hosted inside a JBoss 4.2.3 sever and connects to a JMS queue that is hosted on another server. So far I am creating a new connection to the JMS queue each time the web service is called, this means that, …

0
63
Member Avatar for apanimesh061

[CODE] function getAjax() { var XmlHttp; //Creating object of XMLHTTP in IE try { XmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { XmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { XmlHttp = null; } } //Creating object of XMLHTTP in Browers other than IE if (!XmlHttp && typeof …

Member Avatar for diafol
0
149
Member Avatar for mgt

I'm trying to create a simple members only section. With the following code, I'm able to log in and get redirected to a page (that simply says: "hello") if the login is correct. If I then copy the URL from the page to which I was redirected, open up IE, …

Member Avatar for Stefano Mtangoo
0
563
Member Avatar for abhisheyke

Hello dere.. I am trying to create a log-in and log-out page in JSP. HttpSession started when it get successful log in.While calling session.invalidate() for log out, session did not get destroyed,it retains all the attribute it had.. What should i do?? plz help me

Member Avatar for javaAddict
0
54
Member Avatar for naru vaishnaw

please correct this problem [CODE] id -- int user_id -- int friend_id -- int [/CODE] [CODE] <? session_start(); //starts session mysql_connect("localhost", "root", ""); mysql_select_db("admin"); if ($user_id= $_SESSION['logged']){ //check if user is logged in if($_GET['user_id']){ //gets userid $friend_id=$_GET['user_id']; //friend $by = $user_id; //me $query = "INSERT INTO friend_req ( 'friend_id , …

Member Avatar for diafol
0
150
Member Avatar for Danny159

Hey, I have some php code that I cant seem to get working... Here is the code... This is the javascript that changed the ?show in the url to what the user selects.. [CODE]<script type="text/javascript"> function show(){ var e = document.getElementById("select"); var strUser = e.options[e.selectedIndex].value; window.location = "?show="+strUser; } </script> …

Member Avatar for twiss
0
136
Member Avatar for francipato

Guys i have a Dell Dasktop tried chabging Ram, Changing Proccessor but the the orange light keeps flashing and it doesnt boot, at times it boots and shuts down itself during the session. Help out Guys what might be The problem

Member Avatar for francipato
0
137
Member Avatar for khaley

I've searched Mozilla's site and the web for help on this problem, but without success: although Mozilla Firefox is normally set to open with only two homepages on my computer, in the last month or so it's been opening with 8 pages that happened to represent one web session I …

Member Avatar for jingda
0
174
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Member Avatar for divyakrishnan
0
214
Member Avatar for naveedqadri

I have a website in asp.net developed by some one else, i have made some improvements and now facing problem while uploaded [ [url]www.ict-m.com][/url] this site is running well on localhost. scenario : all files has path starts with /ictm/../../*.aspx 1: i created a folder on root directory with name …

0
153
Member Avatar for serdas

Hello all! I'm pretty much clueless as to how to write code. I saw the following script from [url]http://thinkdiff.net/facebook/users-demographic-data-from-facebook/[/url] so I decided to play around with it but I just can't get it to work. I created the table shown and also a file bd.php where it has the info …

Member Avatar for twiss
0
124
Member Avatar for mike1040

Turn off JavaScript, CSS, and cookies in your web browser and view your website. This is how the search engines most likely see your website. If you can successfully view your content and navigate your website your site is mostly search engine friendly. The only other thing to check is …

Member Avatar for fytmc411
0
79
Member Avatar for Lemorlenny

Hi all, this my first post. I'm newbie in C# and ASP.NET so be patient with me, I have a problem when declare object in the try clause working in VS2010 Express: ex. [CODE] protected void Names() { string strQuery; OleDbDataReader myReader; strQuery = "SELECT TOP 1 Name FROM Names"; …

Member Avatar for Lemorlenny
0
99
Member Avatar for dyingatmidnight

Hello. I have a simply php script for my school project that checks books back into a library database. What I was trying to accomplish was when you checked in the book for it to check and see if the book has been requested and notify the librarian that there …

Member Avatar for dyingatmidnight
0
138
Member Avatar for Zephnath

[I]Hello all, I am looking for some help writing an application with the following attribuutes: An online retailer sells five products whose retail prices are as follows: 1. Product 1, $2.98 2. Product 2, $4.50 3. Product 3, $3.98 4. Product 4, $4.49 5. Product 5, $6.87 Write an application …

Member Avatar for NormR1
0
2K
Member Avatar for ariffin246

Hi I am php coder and new to asp. I am trying to build a simple login page using asp and the db connection works fine. When the user submit the form and at the sql query section i am getting the following error "Microsoft OLE DB Provider for ODBC …

Member Avatar for jfarrugia
0
351
Member Avatar for gonidelux

Order Confirmation Thank you for your order! 84,46,62,84 Your Credit Card informations: Credit Card type: 0 Credit Card number: 2147483647 Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\baby\checkout.php on line 16 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\baby\checkout.php …

Member Avatar for IIM
0
540
Member Avatar for panhwer

Hello friends... I have one question that why session variable are stored on server side, what is reason behind this. If it is stored on client side what will be disadvantage.

Member Avatar for nonshatter
0
109
Member Avatar for IWDesigns

anyone got any experience with using the login with fb option?? im thinking of implimenting it into a site of mine but im not sure how it works, the fb documents are terrible and give no knowledge of anythin, and all the tuts are useless! i kno how it works, …

Member Avatar for matricol
0
87
Member Avatar for panhwer

Hello dear friends.. I have some confusion in following code. <?php session_start(); $_SESSION["name"]= "abc"; session_destroy(); echo $_SESSION["name"]; ?> as I am assigning value to session variable, after assigning I am destroying whole session but after destroying as I echo $_SESSION["name"] it show value. It is printing value even session has …

Member Avatar for panhwer
0
154
Member Avatar for premier213

i am problem with line 3462 ?! :@ [CODE]<?php function trigger_db_error($obj) { global $CFG; $error_arr = debug_backtrace(); $subject = 'Report bug - Sql error - {site_url}'; $content = '<u><b>Url :</b></u> {current_url} <u><b>Error File :</b></u> {file} <u><b>Error Line No :</b></u> {line} <u><b>Error Description:</b></u> {error}'; $frmobj = new FormHandler(); if(isset($CFG['site']['current_url'])) $frmobj->setEmailTemplateValue('current_url', $CFG['site']['current_url']); …

Member Avatar for diafol
-2
781
Member Avatar for dyingatmidnight

I'm finding that my session variable isn't following through from script to script. I'm creating a library database for school and I want the administrator to be able to open user accounts and view the details. This works fine. I then set the account number as a session variable for …

Member Avatar for dyingatmidnight
0
534
Member Avatar for jazzyjaj

Hi, I have a Dell Inspiron n14 Laptop, I am getting an error while writing a DVD +R DL. The DVD drive is DVD+-RW DS-8A5SH. The software used is NERO 10. Although the software Nero Infotool identifies the DVD drive to support DVD + DL for write and read both, …

Member Avatar for Ritesh_4
0
301
Member Avatar for Lilcrew

I need to make a SIMPLE BASIC program that plays crabs [code] #include<iostream> #include<string> #include<ctime> using namespace std; int main() { int money, i, wager, roll, roll1, roll2; string name; char bet, R; cout <<"Lets Play Craps!" << endl; cout << endl; cout <<"This program stimulates a session at a …

Member Avatar for NathanOliver
0
303
Member Avatar for diafol

Hello all. I'm producing a DIY multilingual site. I'm using a templating engine (rainTPL) and my own static language files (php arrays). In these files I not only have the page strings but also the meta tag and title contents. I'd just like to know if you think this is …

Member Avatar for diafol
0
193
Member Avatar for facarroll

I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a …

Member Avatar for facarroll
0
132
Member Avatar for shyam2011

<?php // Inialize session session_start(); include('config.inc'); // Check, if username session is NOT set then this page will jump to login page if (!isset($_SESSION['username'])) { header('Location: index.php'); } ?> <html> <head> <title>Secured Page</title> </head> <body> <?php $result = mysql_query("SELECT user.password, data1.dob FROM user INNER JOIN data1 ON user.username = data1.username …

Member Avatar for vibhaJ
-1
1K
Member Avatar for TheVendor

Hello, We are trying to develop a chat client program in a computer science class, but we are running into this error [QUOTE]Invalid reference in inner class to a non-final local variable [/QUOTE]. The chat client will send the users' text to a text file and then read depending on …

Member Avatar for JamesCherrill
0
221
Member Avatar for VengefulWrath

Hi all! I'm wondering if you could look at my login code and tell me how secure it is. I know it seems to work pretty well, I'm just not very good at picking out security hazards. [B]Main login.php page:[/B] A simple form which submits to itself to check for …

Member Avatar for diafol
0
268
Member Avatar for naveedqadri

Hi every Body , I need your help , my friend left office leaving ASP.net website uncompleted. I am facing problem with this line: 1---:> This File: GenericError.aspx 'ASP.global_asax' does not contain a definition for 'exception' D:\ICTM_PRO\ict-edu\GenericError.aspx 24 [code] <% Response.Write("<br/><div style=\"color:#C6E2FF\">" + ASP.global_asax.exception.StackTrace + "</div><br/>"); %> [/code] 2---:> This …

Member Avatar for khadakbist
0
330
Member Avatar for didi00

Hi everyone! I've worked on a shopping cart and I have a small problem. When an order is made, it doesn't send a notification email. It all seems ok but I don't know why it doesn't work. Here is the code: [code]<?php header ('Content-type: text/html; charset=utf-8'); require_once 'utf.php'; require_once 'library/config.php'; …

Member Avatar for didi00
0
208
Member Avatar for taxmybrain

Hope someone can help [B]I am using Visual Studio 10 Languague VB [/B] It is web based and conects to remote SQL Server If i run a query on database connecting using Sql Server management studio this query give correct results which is to find minimum value in a column …

Member Avatar for sandeepparekh9
0
199
Member Avatar for klemme

Hi all, I am trying to create a small login system, but so far I suck at it. I have a form in one page. It contains only: EMAIL, PASSWORD. I want to do this: When the form has been submitted to the processing page, I am trying to check, …

Member Avatar for ko ko
0
184
Member Avatar for chudapati09

[CODE] <?php echo '<script type="text/javascript"> if(confirm("Your time has expired. Do you want to logout?")) alert("Five minutes were added on too your session"); //User will five minutes added on else alert("You are logged out"); //User will be loged out </script>'; ?> [/CODE] How do I put in PHP code inside the …

Member Avatar for chudapati09
0
2K
Member Avatar for brisby

Hi everyone, im still new to this forum and started to learn about visual 6, i have situation below, this program to obtain reader name and bonus point earned menu File Edit Help Points Clear About Summary __________ Exit Font Color Quesstion, For Points menu command what is a suitable …

Member Avatar for ChrisPadgham
0
516
Member Avatar for dyingatmidnight

My code is not behaving as I would like and I think I've just been looking at it far to long to find the errors. Its for a library database for a school project (its sort of an independent study so I don't have an instructor to bring it to) …

Member Avatar for dyingatmidnight
0
113
Member Avatar for imperialguy

Before proceeding further, my system configuration is as follows: Mac OS X 10.6.6 MATLAB 2010b ActiveState Python 2.7 I have a gui built using matlab. I wrote the following python script to open that matlab gui using pymatlab python module: [code]from pymatlab.matlab import MatlabSession session = MatlabSession() session.run('cd ~/ratter/ExperPort') session.run('addpath(genpath(pwd))') …

0
98
Member Avatar for dyingatmidnight

Hello all, I've been using Chrome to develop a database website for a school project and I've been having a couple of issues. The first being refreshing. When I logout or login I have to refresh the page for it to pick it up. Or if sometimes I'm logged in …

Member Avatar for dyingatmidnight
0
111

The End.