4,124 Topics

Member Avatar for
Member Avatar for stiff

through asp i am giving a AJAx call. There i am setting a session, then i am retriving that value in asp. but always it is showing the previous session value. i want that it should display new session value.

Member Avatar for ~s.o.s~
0
39
Member Avatar for scottrdj

Hi, I have a website that was developed a few years ago for me, site is proburn.com and has been happily running for a few years, however I have had to chnage hosts and I am now gwetting all sorts of errors. latest one is where a customer is trying …

Member Avatar for CertGuard
0
197
Member Avatar for pdb

Hello, I've read all about how to expire a session, but this doesn't seem to be what I need. (unless I misunderstood it) The way I understand sessions, it's all about expiring the _cache_. Here's what I want: I want to allow my site visitors to search without logging in. …

Member Avatar for buddylee17
0
71
Member Avatar for yenyen

hallo all..i got some problem in using the session in ASP. i hope u all can guide me in detail. i have a form, inside got 3 drop down and one text box. and got one Add button. wat i wan to do is: after fill in the value for …

Member Avatar for yenyen
0
99
Member Avatar for mahendiran

Hi, This is mahendiran,please anybody help me.... i m getting error like cast from type ‘DBNull’ to type ‘String’ is not valid. Dim newcollection As String newcollection = "select sum(AMT_PAID) from PAYMENT_HISTORY where BILL_NO LIKE '*" & Session("BRANCH") & "*' and BILL_MODE='NEW' and " If Drp_From_Day.SelectedIndex <> 0 And Drp_From_Month.SelectedIndex …

Member Avatar for emurf
0
115
Member Avatar for tstkenny

I've been searching for a solution for 2 weeks but no luck. I am using Vb2005. On windows.form1 I put 2 standard Webbrowser1 control2 as WB1 & WB2, then wb1.navigate(url). The target URL is a framed remote website. I want to get one of the frame to be displayed in …

0
48
Member Avatar for agrawalashishku

Hello Friend, Please answer my question. I am behind a firewall and proxy server. I enter the proxy password on firefox and when connect to any site that uses java, the java virtual machine also asks me for proxy password. It actualy does not ask me but it shows the …

Member Avatar for peter_budo
0
92
Member Avatar for mishrarajesh44

hii.. i am getting error msg when running this program. pls verify if anybody can.. code: <?php session_start(); //session_register("username"); //session_encode(); //$url="Location:loggedin.php?PHPSESSID=".$PHPSESSID; // header($url); if(isset($_POST['submit'])) { if(empty($password)){echo "No password specified";} $connection=mysql_connect("localhost","wwwuser_raja","kalika"); if(!$connection) {echo"<b>connection not set...</b><br>";} $sel=mysql_select_db("wwwuser_raja"); if(!$sel) {echo"<b>database not selected...</b><br>";} $query="select password from users where username='".$username."'"; $result=mysql_query($query); if($row=mysql_fetch_array($result)) { if(!(md5($password)==$row["password"])) {echo …

Member Avatar for ryan_vietnow
0
91
Member Avatar for nice_true

Hi! Can anyone make it clear as to when to use cache variables and when to use session variables, i.e. what is the difference between the two?

0
104
Member Avatar for n.aggel

in the book "advanced programming in the unix environment" the authors give the following function to "deamonize" a process [CODE=c] void daemonize(const char *cmd) { int i, fd0, fd1, fd2; pid_t pid; struct rlimit rl; struct sigaction sa; /* * Clear file creation mask. */ umask(0); /* * Get maximum …

Member Avatar for Salem
0
143
Member Avatar for AnonymousNow

I'm not sure if this is linked to XP, but since it persists beyond my browser, I'll have to assume it does. Sometimes, seemingly randomly, when I'm typing, my keyboard suddenly changes modes. Instead of typing out letters, the keys activate different statusbar and toolbar menus and windows, like opening …

Member Avatar for bigozone
0
92
Member Avatar for SheSaidImaPregy

I am having a problem with my datalist and repeaters. Below is the code. For some reason, when it searches the database and returns results, it counts the correct number of results, but only displays the correct number minus one. So if it returns 3 results, it only displays 2, …

Member Avatar for SheSaidImaPregy
0
74
Member Avatar for balagangadharm

hi, Iam using tomca,mysql.In my appl ,i wrote a code to upload an image using jps.its working fine in my system.But wen i access my appl from another system(in LAN),iam unable to upload the image.p[lz tell me wats wrong in my code PreparedStatement st=con.prepareStatement("update login set photo=? where uid=?"); File …

Member Avatar for jwenting
0
95
Member Avatar for Neeraja

Hello All, I have developed a web application that has one form with several text boxes and 2 buttons submit and next. On clicking the next button, the old values in the text box gets cleared and gives way to enter new values in the text box. In the "next" …

Member Avatar for shubhadaamar
0
160
Member Avatar for SergioQ

Well, am new here, so I really hope I am in the correct forum. My question is both simple and confusing at the same time, but please humor me. It goes like this: My website is mostly Perl and when someone logs in, I record the session in a database, …

Member Avatar for KevinADC
0
117
Member Avatar for piers

this is the homework I have to do [QUOTE] This homework is due in week 3. You must work on the program outside the formal laboratory sessions. The program must be ready to be executed at the start of the scheduled laboratory session. Remember you may be asked to explain …

Member Avatar for piers
0
173
Member Avatar for anto_nee

Hi to all am new to asp and am parcipating a project on asp in our company... here i got one prob that passing the parameter thru onclick.. i tried a lot but nothing materialize.. i have 5 buttons here.. for all buttons same function that i have to submit …

Member Avatar for SheSaidImaPregy
0
1K
Member Avatar for sonya2525

Hi, I have a script which uploads files successfully to another server via ftp. But after the files are uploaded, I want them to be deleted (removed), but it doesn't seem to work. I would appreciate if someone could help me out with this. How can I modify my script …

Member Avatar for eggi
0
166
Member Avatar for KKopplien

[QUOTE]I am trying to access a NetMail server through LDAP port with <cfldap> I keep getting an error Diagnostics: An error has occured while trying to execute query :[LDAP: error code 32 - NDS error: no such entry (-601)]. One or more of the required attributes may be missing/incorrect or …

Member Avatar for KKopplien
0
157
Member Avatar for rrocket

I am trying to submit a form with .submit(), but I am having issues passing the values from my form... Here is what I have so far: [code=c#] <TITLE>ASPXTOASP.aspx</TITLE> <script language="C#" runat="server"> private void Page_Load(object sender, EventArgs e){ //We grab all the session variable names/values and stick them in a …

Member Avatar for MattEvans
0
130
Member Avatar for cutekola

...kindly help me with this..........my code doesn't work.... ...create a program that will ask questions and at the end of the session it will display the total number of correct answers and the equivalent grade.... ...thanks..... import javax.swing.JOptionPane; public class questions { public static void main(String[] args) { int score=0; …

Member Avatar for peter_budo
0
150
Member Avatar for Mushy-pea

Hi. I've got this issue on my Vista laptop that's been there since I got the thing about six months ago. The system clock falls behind the actual time at a silly rate, which can be up to several minutes in a session but varies sporadically. Then every so often …

Member Avatar for MidiMagic
0
201
Member Avatar for samZin

Hi there i am just new to this forum and hoping to get some geeks to help us out Here is the problem We have a website on our own server (win 2003 sever) website [url]www.jpsequipment.com[/url] We decided to transfer all data including the database to a different webhosting company …

Member Avatar for SheSaidImaPregy
0
180
Member Avatar for 66eagle

opendata.jsp_____________ <% Class.forName("org.gjt.mm.mysql.Driver"); String url="jdbc:mysql://localhost:3306/mydata"; Connection con=DriverManager.getConnection(url,"root","123"); Statement smt=con.createStatement(); ResultSet rs; //int rs; %> counte.jsp_________________________________ <%@ page import ="java.sql.*"%> <%@ page import="java.util.*"%> <%@ include file="opendata.jsp"%> <%@ page contentType="text/html;charset=GB2312"%> <% request.getSession(true); int month,day,hour,today,total,select; String time; int sql; String errmsg=request.getParameter("errmsg"); GregorianCalendar calendar; calendar=new GregorianCalendar(); month=calendar.get(Calendar.MONTH)+1; day=calendar.get(Calendar.DAY_OF_MONTH); hour=calendar.get(Calendar.HOUR_OF_DAY); time="m"+String.valueOf(month)+"d"+String.valueOf(day); //sql="select * from counter …

Member Avatar for masijade
0
259
Member Avatar for faranak

hi I am having a problem closing a popup and open a new page when a button click in popup window. when i close popup,new web page open in popup window.What I want to do is close the popup and return to the original window. Please help me. thanks protected …

0
58
Member Avatar for faranak

Hi I have a list like List<vahed>. this list fill from vahed class.when i want to bind list into gridview ,I store it in Session. but when this list bind to grid view,data is empty. my code: [INLINECODE] //class vahed public List<Vahed> SelectAll() { Vahed V = new Vahed(); string …

Member Avatar for SheSaidImaPregy
0
249
Member Avatar for yagapapa

Hi All Im creating a financial ratio calculator project. After calculating ratios there is a button that gives the users the option to perform another ratio calculation... Initially i used this: controlname.text = "" but then that is not effective, because when try to calculate ratios still in the same …

Member Avatar for yagapapa
0
80
Member Avatar for sarwar

Hi, I am seeking your help on following pthread_create issue on linux OS. The senario is I have a main program which generates new child threads on user request.The new child executes a module and closes. It is working perfectly if there are less then 245 new threads after that …

Member Avatar for Salem
0
178
Member Avatar for go4urs

[COLOR="blue"]Okay the end of the story is that I've been forced to revert to dial up on an old slow dinosaur. It runs Windows ME.[/COLOR] Okay, so the preceeding event was me pushing the reset button on the modem. I [I]immediately [/I]lost my internet access. Every site came up PAGE …

Member Avatar for Suspishio
0
221
Member Avatar for thekashyap

I needed to get links to some good Java, J2EE tutorials and was surprised that daniweb::Java didn't have a thread on that.. Of course it's easy enough having Sun provide tutorials on most things, there might be some covering specific topics in better ways. Anyway here are the links I …

Member Avatar for Ezzaral
1
895
Member Avatar for SheSaidImaPregy

Hello, I need to access the database when a session unexpectedly ends or session times out. This is just for telling the database to update a field for when the user last logged in. The reason I need this is that it saves me tons of coding for other stuff …

Member Avatar for Fungus1487
0
120
Member Avatar for mpro

I need to set an environment variable with a scope of the windows session. Normally when you set a variable in dos this variable lasts as long as the command window is open. The thing is a the developers need to read an environment variable in every session of a …

0
55
Member Avatar for balagangadharm

I have a variable of type float.can anyone tell me how to put this in session as an attribute so that i can use it in other pages.plz reply

Member Avatar for masijade
0
50
Member Avatar for mrityunjay22

jsp code <%@ page import="temperory.Mrityunjay.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.BaseServlet.VSHttpServlet" %> <%@ page import="java.util.*"%> <%@ page import="com.MindShaper.ClassTeacher.Utility.Helper.*" %> <%@ page import="ClassTeacher.SessionObject"%> <%@ page import="ClassTeacher1.MemoryTables"%> <HTML> <HEAD> <TITLE>Student Information</TITLE> <!-- for confirm () --> <script language="JavaScript1.2" src="functions.js" type="text/javascript"> </script> <link rel="stylesheet" href="lib.css" type="text/css"> <style type="text/css"> <!-- td { padding-left: 15px; } --> </style> …

Member Avatar for mrityunjay22
0
137
Member Avatar for Exsiss

I need to make the program: [QUOTE]Write a program to ask for a string and a single character. Read in the string using getchar(). Read in the character using scanf(). Count and report the number of occurrences of the character in the string. Add a brief comment at the beginning …

Member Avatar for Narue
0
316
Member Avatar for fogofogo

Hello All, I have a page that passes a session variable to another page which is then used in an if/else statement. For some reason itsa giving me error messages, and I'm not sure whats up with it. Heres the page that creates the variable [CODE]<?php session_start(); // start session …

Member Avatar for vigin
0
104
Member Avatar for gil857

Howdy all, I'm making an authentication script using sessions variables, but the varible seems to disappear when trying to access it from another page. A simple form on the home page takes a user name and password, it then goes to an authentication page. The authenticate page is making a …

Member Avatar for gil857
0
532
Member Avatar for ezb

I have two slight problems I simply cant find an answer to anywhere, the first, only small. I have my database printing out items from a database into a select box, this is giving me blank options even though there are none in the database, I remember having this problem …

Member Avatar for Yashua
0
228
Member Avatar for elangobala

Hi, Friends In some websites i have seen that in a website called mginger.com in that invite tab when i keep a mouse over the Text field in the right hand side of it shows that please enter the name in a layer .It looks very nice .My friend says …

Member Avatar for Shaffer
0
83
Member Avatar for paski

Hi I am trying to create something like online shop with products and a shopping basket. User can see an html form and edit it. The form is represented by bean. After editing it, he should be able to create new, or submit all products he edited (add actual bean …

Member Avatar for paski
0
157
Member Avatar for thunderbbolt

I am trying to get this program login to work with sessions. I don't know what I am doing wrong, but part of my code is displaying on the page instead of just my login form. Here is my code [code] <?php session_start(); $_SESSION['name']= "test4"; define('DBSERVER', 'localhost'); define('DATABASE', 'dbname'); define('USER', …

Member Avatar for thunderbbolt
0
130
Member Avatar for berty_xx

Hi, I write program whitch read data from more industrial PC by SNMP. In program I use functions SnmpMgrOpen(agent, community, timeout, retries); SnmpMgrRequest(*session, requestType, &variableBindings,&errorStatus, &errorIndex) and SnmpMgrClose(*session). Problem is in read data. From first 3 pc data is readed correctly, but from next pc no. Function return no error, …

0
53
Member Avatar for JavaFish

Hi I am trying to get to grips with querying an access database and displaying the information. I have started with a coun sql command to just return the number of rows but wanted to display this to the screen but each time it shows as null - there are …

Member Avatar for JavaFish
0
576
Member Avatar for ajay_tabbu

I want help. [B]what i do[/B]:I creat three pages 1. login.php, 2. welcome.php, 3.change password.php. when we login(right Id & P/W) welcome.php will open,On that page i have put two option i. Logout, ii.change password.,[U]on clicking on Logout we will logout to enter again we have to enter password.As session …

Member Avatar for somedude3488
0
284
Member Avatar for ambi

Hi friends i have a question here.. i am using Win Xp SP2.....i have installed VM ware Player on which DebianEtch linux is running... there in Debian Linux i am runnint say telnet service on port 23... earlier i had some executable through which i had forwarded the port 23 …

0
112
Member Avatar for world_weapon

Hello everyone, I have an issue that I can't seem to resolve with integrating phpBB into the rest of my site so that login and session can be intact. Well, for the most part, the whole scheme seems to work at first glance. I noticed that pages that have the …

Member Avatar for world_weapon
0
151
Member Avatar for himanjim

Hey friends I've a doubt regarding my password authentication code given below If we use `session _start` function one need not use the `cookies` as $_SESSION['user'] = $username; $_SESSION['password'] = $password; functions do the same job that cookies would have done so my cookies code is just a clutter?? Here's …

Member Avatar for Puckdropper
0
193
Member Avatar for JLSBA2007

All our VPN users, OWA users, and Good link users are experiencing lock outs when they reach a maxium number of Mapi sessions and then are prevented from establishing another session. This is now becoming a weekly problem. This has been an issue for sometime now and for a while …

Member Avatar for chris5126
0
65
Member Avatar for soso30

hi all, i built outlook plug_in to change the numbers in contact list.when i tried the application for small contacts list ,it did the functionality i want. but, when i used the application for large contacts . it did not change all the contacts item . Is the problem in …

Member Avatar for ronbhall
0
96
Member Avatar for ThePhenom

I am hoping someone can help guide me in the right direction. I have a project for class that I am working on and I could use some help. The project guidelines are below as well as my code thus far. I have gotten this far with it but am …

Member Avatar for ThePhenom
0
136

The End.