3,454 Topics
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 …
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 = …
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
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 …
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 …
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" /> …
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 …
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 …
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 …
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 …
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]
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 = …
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 …
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]
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 …
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 …
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. …
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 …
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 …
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 …
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, …
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 …
[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 …
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 …
hi what is session and how can use it ? please learn me how to use it? thanks
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 …
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 …
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 …
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 …
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 …
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 …
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, 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 …
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 …
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 to all; i am new to .net; please send login code using sessions;
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 …
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 …
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
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
The End.