4,124 Topics

Member Avatar for
Member Avatar for Aamit

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]; // …

Member Avatar for Chaster
0
160
Member Avatar for isheanesu

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 …

Member Avatar for hinde
0
66
Member Avatar for ramseswar

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 …

Member Avatar for ramseswar
0
109
Member Avatar for sarithak

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 …

Member Avatar for langsor
0
257
Member Avatar for mamcjreynolds

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, …

0
51
Member Avatar for PsychicTide

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 …

Member Avatar for PsychicTide
0
193
Member Avatar for mlesniak

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 …

0
87
Member Avatar for sathiyamoorthy6
Member Avatar for Harsimran

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 …

Member Avatar for peter_budo
0
246
Member Avatar for WhYuLoOkIn

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 …

Member Avatar for bheeks
0
136
Member Avatar for xray_slayer

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 …

Member Avatar for nikhildoomra
0
191
Member Avatar for jeetudaljit

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 …

Member Avatar for pm4
0
143
Member Avatar for mamamiaw

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 …

Member Avatar for mamamiaw
0
97
Member Avatar for theBond

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

Member Avatar for Shanti C
0
82
Member Avatar for Shreyasi

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.

Member Avatar for praveen_dusari
0
260
Member Avatar for shebeg

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 …

Member Avatar for peter_budo
0
137
Member Avatar for ramseswar

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!!!!!

Member Avatar for Shanti C
0
92
Member Avatar for veledrom

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

Member Avatar for veledrom
0
104
Member Avatar for ruben.rens

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 …

0
52
Member Avatar for brightline

how to set the session timeout for the application to 90 minuits. I am using asp.net 2.0 thnx in advace.

0
68
Member Avatar for shijunair

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 …

0
68
Member Avatar for Hantra

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, …

Member Avatar for jeffmg
0
99
Member Avatar for emilio

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();%> …

0
92
Member Avatar for bpacheco1227

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 …

Member Avatar for mitrmkar
0
200
Member Avatar for Aamit

[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 = …

0
59
Member Avatar for Papa Awortwe

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 …

Member Avatar for Shanti C
0
92
Member Avatar for RiverX

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(); …

0
52
Member Avatar for Cheecher

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 …

Member Avatar for ramseswar
0
134
Member Avatar for jbondkicks

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 …

Member Avatar for Cyber Punk
0
199
Member Avatar for ibrahimssani

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 …

Member Avatar for ibrahimssani
0
450
Member Avatar for shadow_cool

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]&lt;h2&gt;&lt;a href="http://www.bulgarianpropertysale.com/"&gt;LONDON 2012&lt;/a&gt;: London Unveils Its Olympic Stadium&lt;/h2&gt; &lt;p&gt;The Olympic Stadium for the Games in 2012andnbsp;has been unveiled …

0
60
Member Avatar for mahaguru

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 …

Member Avatar for martin5211
0
78
Member Avatar for Hannahlv

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); …

Member Avatar for Hannahlv
0
232
Member Avatar for ypdev

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 …

Member Avatar for ypdev
0
901
Member Avatar for headfirst

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 …

Member Avatar for R0bb0b
0
172
Member Avatar for Texpert

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 …

Member Avatar for JakeDB
0
883
Member Avatar for tsahima

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 …

Member Avatar for PhilliePhan
0
292
Member Avatar for vit0

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)); } …

Member Avatar for ~s.o.s~
0
147
Member Avatar for akshit

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 …

Member Avatar for Shanti C
0
162
Member Avatar for amjad277

[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 …

Member Avatar for amjad277
0
168
Member Avatar for vish_1x1

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 …

Member Avatar for Thirusha
0
1K
Member Avatar for ishlux

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...........

Member Avatar for martin5211
0
79
Member Avatar for itshibu

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 = …

0
83
Member Avatar for ishlux

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[]" …

Member Avatar for vicky_rawat
0
80
Member Avatar for ishlux

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 …

Member Avatar for Shanti C
0
149
Member Avatar for ishlux

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 …

Member Avatar for vicky_rawat
0
67
Member Avatar for ishlux

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']; …

Member Avatar for taoteh1221
0
1K
Member Avatar for rjrasmussen

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 …

Member Avatar for R0bb0b
0
78
Member Avatar for ishlux

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']; …

Member Avatar for nav33n
-1
102
Member Avatar for tindallr

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 …

Member Avatar for The Dude
0
153

The End.