4,124 Topics
![]() | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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, … | |
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 … | |
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" … | |
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, … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
...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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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', … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.