4,124 Topics
![]() | |
Hi .. I am new to JavaMail... [url]http://209.85.175.104/search?q=cache:h2HRteCAXKoJ:www.zukowski.net/WebTech-JavaMail.ppt+javamail+faq&hl=en&ct=clnk&cd=4&gl=in[/url] i am trying to run this code ...from this url.. [code]import java.util.Properties; import javax.mail.*; import javax.mail.internet.*; public class MailExample { public static void main (String args[]) throws Exception { String host = args[0]; String from = args[1]; String to = args[2]; // … | |
Hi Guys I need some help please. I have a CF Knowledge Management System that I'm working on. I however have an issue with the security. When the session times out after the set time the user is able is use the back function of the browser to visit the … | |
i have made the form action a variable..ie code echo the 1.php if registration values have been set by the user accordingly....and register.php if user have entered some improper values. then i save these values in session variables and call these variables on 1.php to enter in the database. my … | |
Hey.. here i am going to do root map ..its working fine..but i have some extra features.. it includes (WHEN WE CHOOSE A COUNTRY ,THEN AUTOMATICALLY DISPLAY STATES IN THE OTHER SELECT BOX...THEN THE LOCATION WILL GOES TO SELECTED STATE..] PLZ DO SOME HELP AEAP............ its very urgent... here is … ![]() | |
I am having trouble getting my DVD player to burn DVDs. Prior to this issue I was not able to read DVDs. Here is the lst log that I have from NTI CD & DVD Maker ========== BEGIN OF LOG ========== NTI CD & DVD-Maker 7.0.0.37 (SKU-21710411020) Start Time: Tuesday, … | |
Alright ran into a bit of a problem on the item count in my index... let me give you the layout I'm working with. I've got my index page with the header logo and navigation bar. This is followed by an Iframe. When I click the navigation buttons it changes … | |
Hi. I have a problem when I try to scan from any of the applications on my computer. When I try to scan it always fails and I may or may not get a message from the host application. In Paint Shop Pro 7 for example I get the message … | |
how can we use the session object in asp.net | |
Hi ,everybody i am trying to use beans in jsp.....but i am stucked in first step... i have copied code from somewhere ......here beans uses a package .Beans is compiled successfully and called bean by this tag in jsp <jsp:useBean id="MyConnectionBean" scope="session" class="UserPack.ConnectionBean"/> Here UserPack is package of bean now … | |
My goal is to set a session variable and have it timeout after 10 min. I tried to do this with cookieless="false": [CODE] <sessionState cookieless="false" timeout="10"> </sessionState> [/CODE] The code above did not timeout after 10 min, I believe I did that correctly if not please let me know. After … | |
I'm building small application, im kinda newbie in jsp..I use the MVC n servlets concepts.. My problem is after from servlets, the page i want to go (change to another place) cannot shown in the address bar correctly(the addressbar still showing the servlet page), but the view is exactly d … | |
I tried to store session using.. String UserId=request.getParameter("username"); session.setAttribute("username", UserId); and when I try to access it in some other jsp/servlet using request.getAttribute("username") it is showing incompatible data types and showing value null.. but request.getParameter(); is working fine .. wht to do if I need to access this variable in … | |
Dear all, Firstly thanks for reading this post. I have couple questions n problems to solve, and i believe all the masters and gurus here are kind enough to help me. I am not a programmer, nor that i'm experience with jscript. But i have this task or challenge to … | |
Hi, If there are multiple type of users - Super Admin, Admin, Clients should i have to use seperate SESSION variables for each type of users? Or should i have to maintain the session in single variable? Thanks | |
Hi all, I try to make login page in PHP.But I unable to get the loginID/UserName in login_successful page.I try to do it by using session.Please anyone tell me how I solve this problem by using session. | |
Hi! i just want to ask how to end a session after a transaction. Here's the flow of my app...after updating information in the database, a confirmation page is invoked, in this page, a button which will display the first page is displayed. when i click that button, the text … | |
i m not able get the session variables on the other pages....................... if i use session_start(); it gives error:header already sent............... kindly help me ..................i m stuck.!!!!iiii!!!!! | |
Hi, What should i do for "logout link" to clear "login session" because, when i click "logout link", i can come back to same page without any problem with clicking on back button on the IE. Thanks | |
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 … | |
After being on the web for a few minutes, my internet slows down to a crawl. Most of the time, websites I'm trying to visit will timeout and not connect at all. I'd appreciate any advice on this matter! I do not have a log from ESET. I ran a … | |
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, everyone! I thought I posted the code first, it's better. This is the code of the program I've worked with : [CODE] #include "liveMedia.hh" #include "BasicUsageEnvironment.hh" #include <stdio.h> UsageEnvironment* env; Boolean reuseFirstSource = False; Boolean iFramesOnly = False; static void announceStream(RTSPServer* rtspServer, ServerMediaSession* sms, char const* streamName, char* inputFileName); … | |
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 Everyone, I am a new java user and i have a problem where i have made a servlet "Conn.java". In which i have established a connection and i m retrieving data from database using dsn. This data i store in a array list called rowsetArray. when i run just … | |
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 … |
The End.