3,454 Topics

Member Avatar for
Member Avatar for Doc Holiday

hello, I 'm still a noob at programming in vb.net I have a problem. I 'm trying to get my selected rows values to another page. Basically, there two values that not being displayed in the gridview, but is part of the selected statement in the store procedure that populated …

Member Avatar for Oreo1982
0
127
Member Avatar for webdani

Hi All, Below is the code I use in an Unix environment to connect to my organization's mail server(This is to read mails in my Inbox). [code=Java] import javax.mail.*; import java.sql.*; import javax.mail.internet.*; import java.util.*; public class readm { public static void main(String args[]) throws MessagingException { //Properties props = …

Member Avatar for regent_royal
0
502
Member Avatar for praveen_dusari

hi all, i want a shopping cart which runs on sessions ie adding items to basket, updating them using sessions without using tables any ideas iam confused :confused: and stucked please help

Member Avatar for praveen_dusari
0
316
Member Avatar for javaAddict

I presume that by back button you are referring to a browser and you have implemented that with JSPs. In that case when the username and password are correct, save the username in the session before you redirect to the next page. Then when you go to the next page …

Member Avatar for javaAddict
0
142
Member Avatar for Robtyketto

Greetings, Within my jsp I have HTML code (see below) which accepts input, one of these fields sequence unlike the others is an Integer and within the HTML FORM the INPUT TYPE is set to "int". [CODE]<FORM ACTION="wk465682AddFAQ.jsp" METHOD="POST"> Id: <INPUT TYPE=TEXT NAME=Id><BR><BR> Category: <INPUT TYPE=TEXT NAME=category><BR><BR> Question<BR><TEXTAREA NAME=question COLS=100 …

Member Avatar for haoyou2008
0
2K
Member Avatar for hellofriend

hi, :p i am trying to achieve a registration page in JSP. i am using tag library to do this. c tag library and Sql tag library. [CODE] <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:if test="${param.submitted}"> <c:if test="${empty param.name}" var="noname" /> <c:if test="${empty param.pw}" var="nopw" /> …

Member Avatar for haoyou2008
0
1K
Member Avatar for winbatch

OK - so I installed windows 2003 server on my desktop, which is in the basement. I have a laptop upstairs (xp) which I want to connect to the desktop over remote desktop. This is working ok (networking, etc), except the way that 2003 server is working, it's making it …

Member Avatar for isfana
0
916
Member Avatar for Daywraith

Hi, I not sure where to look for information about wireless systems that have some kind of limited use session token/ability. We have a conference room where we host large meetings with people fly in from around the world to participate. Currently we have no wireless capabilities and we would …

Member Avatar for nebcat
0
394
Member Avatar for Laneyh

Hi My company hosts software on a Windows 2003 server for our clients. The clients access a Https:// url to logon to their site. One of our clients is having an issue when they type in the url which is in the format of [url]https://company_name_qa.com/logon.htm[/url] The underscores resolve to percent …

Member Avatar for aalcazar
0
140
Member Avatar for ceyesuma

Hello I have been studing the tutorial at [URL="http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html"]http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html[/URL] I am starting to understand how data from a database gets to a webpage to a table via a selection box. But in the code I can not see where it actually build a SQL query is there a method in …

Member Avatar for ceyesuma
0
100
Member Avatar for veledrom

Hi, How can store [inlinecode]$_SESSION['id']="myId";[/inlinecode] for 5 hours? I tried cache thing but, when i closed IE it expired. When i echo $_SESSION['id'], it doesn't return any value. Thanks [code] session_cache_expire(150); session_start(); $_SESSION['id']="myId"; [/code]

Member Avatar for digital-ether
0
120
Member Avatar for ceyesuma

I am trying to populate a dropdown1 list with instructor names determined by the instructor id. is this code suffient? I have the binding write as far as I can tell but no string name population of the dropdown list. [code] private void buildInstrOptions(){ List<Teacher> teacherList=null; try{ Session session = …

0
51
Member Avatar for ebok

hi everyone, im trying to run a linux script in java where it ask the user to input a password,then when suucessfully executed it prompts the user to enter the same password for verification,how can i do this in java,im using trilead to remotely access and execute command,im having problem …

Member Avatar for ebok
0
140
Member Avatar for prashanth18

hi when i click the previous page button it was gng to logout page the sesion was not destroying when iwas using this code please help me [CODE]<?php session_start(); session_unset($_SESSION['uname']); session_destroy(); header ("Location: login.php"); ?>[/CODE]

Member Avatar for R0bb0b
0
106
Member Avatar for Member #321923

Hi! I need some help. It's probably really simple but im stuck and need some guidance. I want a simple loginpage where the user logs on and matches the username and pw in the database. Then i want to redirect him to another site. this new site should check that …

Member Avatar for peter_budo
0
60
Member Avatar for ceyesuma

I know it is a rookie question but how do I get the system to print what is in personList? [code] private void buildPersonOptions() { List<Person> personList = null; try { Session session = HibernateUtil.getSessionFactory().getCurrentSession(); Transaction tx = session.beginTransaction(); Query q = session.createQuery("from Person"); personList = (List<Person>) q.list(); } catch …

Member Avatar for ceyesuma
0
84
Member Avatar for Athersgeo

I've got a page that should change, depending on which item on the dropdownlist is chosen. Unfortunately, the page seems to be ignoring whatever's selected and just clinging on to the first item on the list. I'm sure I'm missing something blindingly obvious, but any help would be greatly appreciated. …

Member Avatar for Athersgeo
0
152
Member Avatar for saquib189

Hi, i have a ebook site & in that i put gridview that shows top 10 ebooks category by date in ascending order but in that i want to show how many readers view or read the ebook with approximate time of reading that stored in the user session will …

Member Avatar for greeny_1984
0
74
Member Avatar for naian101

good day folkz! i'm really one of the newbies here and i badly need a help from you guyz. i've been working on this system. it's a running one, yet, i was told there are some features need to be added and that's what i'm supposed to do. i'm still …

0
60
Member Avatar for khibbert

Hi, I am the tech coordinator for a small school district of 220 students. WE have two T1 lines to our ISP (the state of Wyoming). From any computer on our network, we can connect to the internet, but not stay connected (times out after 2-3 min of connection, regardless …

0
39
Member Avatar for zorro3692

Hi, I have a web application employing a servlet that processes database requests from user input params and forwards the total count of the resultset to my display jsp using request.setAttribute(...). I retrieve the value of total count in my display jsp using request.getAttribut(...) and the value returns correctly. However, …

Member Avatar for zorro3692
0
141
Member Avatar for camdes

I designed a photo gallery for a local Primary School and now that the new session has started, I have been asked to remove all the photographs and supply them on CD. Unfortunately, although I have now corrected the problem for new photos, I did not have a unique name …

Member Avatar for omol
0
105
Member Avatar for ceyesuma

[code] Query q =session.createQuery("from Person"); [/code] ? so there is a Query q named "from Person") I don't understand how the actual query reads(via SQL). Can someone explain this code: because clearly there is a personList and a personOptions of the type Option[] the size of personList.size() and the 4 …

0
79
Member Avatar for Thirusha

Hi I am trying to remove a session attribute from my app, currently i use the jstl tag remove to remove the attribute, this works in firefox when the browser is refreshed, but not in IE, so i then decided to use the session.removeAttribute method in a servlet that gets …

Member Avatar for Thirusha
0
77
Member Avatar for hno

hi what is session and how can use it ? please learn me how to use it? thanks

Member Avatar for Shanti C
0
76
Member Avatar for gpdrums

Hi All: I have an extensive website in which I would like to echo the name of the company various pages after the user logs in. I think I should be using the $_SESSION global, but I'm having difficulty implementing it, placing it in my code, and knowing what php …

Member Avatar for MVied
0
219
Member Avatar for architact

Hello, I have designed a website which let the users create account and use our services, my client asked me to design a page which will show all the online members at that time, the solution i have figured out is that i have create a column in my user …

Member Avatar for scru
0
89
Member Avatar for midget

I've been trying to figure this out for months so if someone could tell me how stupid I am that would be great... The first php.ini file works for sharing sessions from domain to subdomain no prob... with the simple inclusion of session.cookie_domain = "mydomain.com" I've tried them both with …

Member Avatar for digital-ether
0
717
Member Avatar for guravharsha

Hi I am trying to send the mail to client containing message as a data retrieved from database in table format. I am retrieving data in below servlet. now i want to send all this data in jsp page in table format. from this page i am sending all this …

Member Avatar for ~s.o.s~
0
114
Member Avatar for beckyp

There have been some excellent articles on converting asp session variables to .net but not the other way round. What is the best way to convert .net session variables to classic asp session variables? This must have been done by many people by now, so what have you found to …

0
78
Member Avatar for steven woodman

Hey peoples, I have a little problem that i cant figure out on my own. Ive been running kubuntu with compiz effects basically all on and enjoy booting into linux every now and then for a little learning experience. Anyways i wanted to trry a new windows manager so i …

Member Avatar for steven woodman
0
250
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
169
Member Avatar for veledrom

Hi, I use the "login.php" to login to my site, i want store all the sessions in "sessions.php" after login process. When i go to other pages, i simply want to require "sessions.php" to be able to use sessions in those all pages. Is this logis possible? If so, how …

Member Avatar for Shanti C
0
83
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
72
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
117
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
205
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
95
Member Avatar for sathiyamoorthy6
Member Avatar for ChintuChowdary
Member Avatar for greeny_1984
0
47
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
260
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
143
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
196
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
156
Member Avatar for praveen_dusari

hi, i will access this daniweb from my office and yesterday i forgot to logout and i closed my browser today when i opened daniweb i was shocked :-O to see myself as logged in if they used sessions they must be destroyed after 20min right , i hope they …

Member Avatar for The Dude
0
65
Member Avatar for saikishore

Hi frnds... If u have loginpage code by using sessions...plz send me.. Html+php code total... plz its urgent.. uptonow i used normal login page but,now i require by using sessions.. its urgent..plz send me.....asap... thanks in advance.. kishore

Member Avatar for sarithak
0
111
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
88
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
265
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
146
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
102
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
108

The End.