3,454 Topics
Hi, new here, but have read the previous threads on redirect problems: We are running a default.asp file on a IIS 2000 server that handles redirects for us. Until now all has been working 100%, but I am having trouble adding a new redirect to this file. I need to …
how to set the session timeout for the application to 90 minuits. I am using asp.net 2.0 thnx in advace.
hi everyone, I am facing a problem which i know that you'll will surely find a remedy. I have a login.html ,login1.jsp which does the database connection and welcome.jsp the main page. so the problem is when i put the username and password it directs me to the welcome.jsp, In …
All: For some reason all my users are able to access this one web page for our On-Demand Host to start a TN3270 session in a Java environment, but I have one person who cannot do it. I've tried absolutely everything, from trying a different browser, to reinstalling XP SP2, …
i am trying to print an array list in a jsp page like this: [CODE]<body> <FORM METHOD="POST" ACTION="index.jsp"> <input type="text" name="text" value="" /> <input type="submit" value="add" /> </FORM> <jsp:useBean id="tomer" class="java.util.ArrayList" scope="session"/> <jsp:useBean id="r1" class="java.util.Iterator" scope="session"/> <% if (request.getParameter("text") !=null) {%> <% tomer.add(request.getParameter("text"));%> <%}%> <%r1 = tomer.iterator();%> <%while(r1.hasNext())%> <%{%> <%r1.next();%> …
I have time to complete this, I have to add 2 void functions, 2 value returning functions, 1 structure and on array. I just need some ideas on where to start, what should I convert to functions, how should I instill stuctures and arrays to this particular program. I'm going …
[code]import java.util.*; import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; // Send a simple, single part, text/plain e-mail public class TestEmail { public static void main(String[] args) { // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!! String to = "vipan@vipan.com"; String from = "vipan@vipan.com"; // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!! String host = …
Hi to everyone, Please i would be grateful if you help me with this. This is a tutorial i am practising .When i create a session variable on a page , I find it difficult to show it on another page. Please check also to see whether the scripts are …
Hi all, I currently have webapp that deal with a registration process. I have an interface called User which has the methods to get Values from the implemented userimpl class as well as methods to add and load the user i.e. [code]interface IUser { bool save(); string getLastName(); string getFirstName(); …
Alright, I am currently creating a page that allows for the user to see a basic directory of user phone numbers and gives of variables. The issue I am having is that I have a link so that if you want all the users information you can click on it …
Hi there, am new to php and i have been trying to upload files from a form to a location on a server ( folder "uploads" on the server), the syntax and everything i am using is right cos i tried using just a form but when ever i use …
I have a problem with print data from XML on aspx page. I made some source which read data and write into XML file, but when i print data, i see this: [ICODE]<h2><a href="http://www.bulgarianpropertysale.com/">LONDON 2012</a>: London Unveils Its Olympic Stadium</h2> <p>The Olympic Stadium for the Games in 2012andnbsp;has been unveiled …
HI, I am using phpcake. I have to check if a user is logged in with some user/pass no other one can use same user/pass till one is logged in. I have idea it cam be done through the database maintaining the table for logged in users. But I dont …
Hi, I am developing a PHP module where I need to pass a particular data through different pages without notifying the user about it. The site I am building have forms on every page except 1. So what I was doing before was sending that data through forms in a …
Hi Guys, I've got a code that basically storing data from several controls, one of the control is GridView. when I "Submit" I get all rows from GridView and I need only the selected rows.. I've tried to use: str = GridView1.SelectedRow.Cells(1).Text but it gives me an error when I …
Hi php gurus. newbie here needs help. I m having a problem with my login script. Basically it works 95% of the time, but once and a while it doesn't. The session variable doesn't get set, or remembered, and the next referred page fails on the isset check. I tried …
Hi, I need help solving this problem. I have a dataset with four columns col1,col2,col3,col4 and the data could be col1 col2 col3 col4 ===================================== t1 abc a 1 t1 xyz a 2 t1 mnp b 3 t2 abc 1 t2 kkl 2 I want to create a datagrid which …
Hi Ive got this virus , and avg cannot remove it. any help? here is the hijack this log: Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 23:50:57, on 16/07/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16674) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\csrss.exe C:\WINDOWS\system32\winlogon.exe …
Hello People! Hope, you solve my problem. I program in VB.NET and have a WebForm that contain a client Javascript counter (min:sec) to zero. I use this code to show up a counter. [CODE]<script language="javascript"> var up,down; var min1,sec1; var cmin1,csec1,cmin2,csec2; function Minutes(data) { for(var i=0;i<data.length;i++) if(data.substring(i,i+1)==":") break; return(data.substring(0,i)); } …
hey guys. i hav this page (a.php), where i ask te user for his username and password. I match these with static values, and upon succesful matching, i redirect the user to b.php. my prob- what if somebody, instead of going thru the normal procedure (from a.php to b.php after …
[B]- I try here to close the XAConnection and XASession session.close() connection .close() - but the server shows me this Exception:[/B] 2008-07-18 09:30:14,093 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE java.net.SocketException: Socket closed at java.net.SocketInputStream.read(SocketInputStream.java:162) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664) at …
Hello friends, can u please explain the code Login page using sessions Rakesh Nagekar
Hi,,,,,just tell me whats wrong with this code.......it will display the session values but storing it to the db its storing empty values......only it is storing a1,b1,c1 values rest of all are blank.. table structure and all everything is fine...........
I have a project. I need to know how to access source HTML code of active HTML page. I had tried with VB program its working this way : [code] Private Sub Command1_Click() On Error GoTo command_error With Label1 .Caption = "" .AutoSize = True .LinkTopic = "IExplore|WWW_GetWindowInfo" .LinkItem = …
Hi i want the values which are selected should be stored in a session. here i have stored all the values which are available how to do it.......pls give me solution............. [code=php]<?php include('database.php'); $stype=$_POST['category']; if($stype=="service_category") { $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { ?><input type="Checkbox" name="a[]" …
Hi.......all...... here i will give whole of my code just go through the code and give me the solution i have 3 pages........in the first page collecting the user information and storing in a session and in the second page just selecting the main option and in the third page …
Hi here the the values which are from the table will be stored in an session....before that which is displayed with an checkbox.......but what i want to do here is i want those values which are clicked should be stored in a session and i want to display them in …
Hi i have kept the array of values in a session so how to retrieve those values from the session in the next page .........can anybody help me [code=php] $result = mysql_query("SELECT * FROM services "); while($row = mysql_fetch_array($result)) { ?><input type="Checkbox" id="c[]" value="servicess"> <?echo $row['servicess']; echo "<br />"; $c[i]=$row['servicess']; …
Hello, I am very new to php/mysql, but I've learned a decent amount about it as of late . I'm trying to write a query for a dynamic list. The list is supposed show all user level 1's from a given state (i.e. CT, MA, ME). The state it shows …
Hi is this correct? actually i have declared a,b,c as an array and i want store it in a session and display them i am not even getting error, it is showing blank page......pls help me is the declaration of an array is correct ? [code=php] <? session_start(); $a=$_POST['a']; $b=$_POST['b']; …
Hi, I'm a new user, so sorry if this has been covered. I looked but didn't yet see this topic. I have a home-built XP Pro machine with a Linksys LNE100TX(v5) Ethernet adapter. This morning a CenturyTel tech switched me from my ADSL connection to their cable service, and now …
Hello, I'm a little new here, please go easy on me if this has been addressed already. I am currently using an XP SP2 machine to RDP into another machine (also xp SP2) with a Lexmark z715 directly attached via USB. The printer driver is the latest from Lexmark's site …
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to …
Hi all... i have 3 pages ..... in the first page i have started the session......i want the values from the first page, second page and finally it has to be stored in the last page...... i want the tag for session start and how should i store the values …
Hi all, Im very new to php. Currently im creating an online exam system which uses php and mysql as the database. I have registration and login page which works pretty fine. I had problem when it comes to question page. I have about 20 questions. As soon the user …
Hi. I have two forms with the following names and properties: 1. register.php --- ----- action="register-exec.php" --- method="POST" 2. register-exec.php --- action="register-exec.php" --- method="POST" After submitting the register.php, I used session in register-exec.php to store the value of the register.php for later use as follow: [CODE]session_start(); $_SESSION['bookTitle'] = $_POST['txtBookTitle']; $_SESSION['bookInfo'] …
I have been working on a php login system which is basically finished but needs one thing cleaning up. When the session is created/registered, a cookie is created. And according to firefox, the cookie will expire when the session ends. However, the session ends (according the the rest of my …
Hi everyone ! Im using Eclipse with CDT (C/C++ Developpement Tools). I often get this error message when starting Eclipse : "An error has occured. See the log file /home/usr/workspace/.metadata/.log" then it close. Here is the full log : [QUOTE]!SESSION 2008-07-04 10:17:06.950 ----------------------------------------------- eclipse.buildId=M20080221-1800 java.version=1.5.0_14 java.vendor=Sun Microsystems Inc. BootLoader constants: …
Hey All, i'm having real trouble with this. ok, i have a login page where the user logs in. they put items in the cart and then go to addorder from to place order in database. only problem is i can't get it to work. i think the problem is …
I've this servlet that reads the data from db and then passes on a sublist of the data retrieved from db to the jsp page... [ICODE] package tryjsp; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*; public class GetReleaseDataServlet extends HttpServlet { String releaseno = ""; String location = ""; …
Hi, It will be very helpful 4 me if any1 kindly provide me code of session log out in JSP. It means if any member signs in and after accessing all possible services that member can sign out him/herself clicking a "sign out" button. You can send code in this …
Hello Everyone, at first thank you for reading this post. I've searched nearly 4 Hours the whole Internet but did not find an answer which pleased we well. Does anyone know how get access to the gnome keyring tool through dbus in an Java Application. I shall write an Java …
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using …
Hello: I was implementing payment processing through Moneris. I set some information in session variables. Then I go to moneris hosted page. After I come back from moneris, my session variable values expire. What am I doing wrong? If increasing session timeout variable will work or not? I am using …
hi, want to call td element value to next page ,which is getting thru session attribute.while calling getting null in next page. below is my code pls help me thanks in advance. <input type="text" id="tname" value="<%= session.getAttribute("ename") %>"></td> next page iam calling as: name=request.getParameter("tname")
When I set my session variables, and then move to the next page with my new found credentials, it doesn't keep them. I'm moving from login.asp using check.asp which should bring me to panel.asp. login.asp: [code] <html> <head> <title>Login</title> </head> <body> <% Session.Abandon %> <form name="form" action="check.asp" method="post"> Username: <input …
I have a Python program that uses Mechanize to open a page at a website with a log-on/password form, set the entries to preset values and then submit to begin the session. This works, I can get the log-in/password from a form I build in the program. What I an …
I am a C++ beginner and I am stuck. I can't get the random number generators to run properly, specifically the random number generators are all coming up with 1 . The point system is not running properly either, I'm sure it has something to do with my do-while loop. …
Hello friends, I m tyring to get the History of the user who login's and sees the details of the project I want to maintain the session of a particular user in accordance with the history . so could you please help me in by giving me the code related …
Hi, I have downloaded a couple of scripts which I would like to combine but I am very new to PHP and don't know if it is possible to do. One of the scripts is a simple shopping cart and the other is a (to me) very complicated affiliate script …
The End.