3,454 Topics

Member Avatar for
Member Avatar for Chaster

Hello, How can I get a reference to a session? I have a page, which forms a query string, and in another page I would like to display the attributes of it. I don't want to introduce scriplets, so I am trying to do this in a pure Java file, …

Member Avatar for ~s.o.s~
0
115
Member Avatar for Seamus McCarthy

I'm trying to append the end of the file treatments.txt but am unsure how to use the while loop correctly!! Any suggestions?? I tried boolean with the whiles aswell but can't seem to get it to work either. Like asking do you want to continue adding treatments and if yes …

Member Avatar for Seamus McCarthy
0
139
Member Avatar for SoHotSoCalGirl

Help, I'm trying to burn 4.7 GB DVD+R discs using Nero 7.2.0.3, on Windows XP Pro SP2, and I don't want to burn the whole DVD at once, I want to keep adding a few files at a time. The only problem (and it's a big one) is that I …

Member Avatar for caperjack
0
509
Member Avatar for WarriorOfLight

Hello, experts! On my machine I have installed Windows Server 2008 DataCenter Without Hyper-V SP1 with TS Session Broker role. On two other machines installed Windows Server 2003 Enterprise SP2 with Terminal Server role. All configured on combined action without using of the NLB. The request to WMI-class Win32_SessionDirectorySession returns …

0
40
Member Avatar for danielpataki

Hi everyone! I'd like to ask a simple question to which I can't really find a definitive answer. If I condense my code a lot, will this mean an increase in loading times which is significant enough? I like having my code spaced out, readable, but I would also like …

Member Avatar for danielpataki
0
233
Member Avatar for itzzmeyoyo

Iam not able to pass a value from servlet to jsp using setAttribute and getAttribute. My test code : Test1.jsp ======= [code] <%@ page language="java" contentType="text/html" %> <html> <head><title>Login Example</title></head> <body> Enter Your Text <hr><p> <form name = login action="../servlet/TestServlet1" method=POST> Your Text : <input type=text name=yourText><br> <input type=submit value=LogIn> …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for dwdish

Hi, I successfully send email with the following code in English. However, if the message and the subject title are in other characters, everything becomes question marks and the subject title says something like ...ANSI...3F=3F=3F... How do I set the character encoding to utf-8, for example? Thanks. I have this …

0
64
Member Avatar for ArtChess

Here's my scenario Workstation *ironic* it's not really working! But anyway. Workstation = XP service pack 2 Dell GX260 tower. Issue when remoting STart>RuN> 'mstsc' I key in the computer name and click enter and receive the error The remote computer disconnected the session because of an error in the …

0
92
Member Avatar for davewylie

I want to be able to identifying users to my website so that I can see when they last logged on and highlight changes to certain pages when they see them for the first time. One problem is that a user's IP address may be dynamic, so I don't see …

Member Avatar for Manuz
0
144
Member Avatar for afroz282004

I try to retrive the doc file from sqlserver,when i execute the code ask me Do you want to open save file? when i click open button the doc file open with error "System.Byte[]" Dim sql As String Dim strcon As New Configsetting Dim cnn As New OleDb.OleDbConnection(Configsetting.ConnectString) Session("Req_SeCode") = …

Member Avatar for Teme64
0
122
Member Avatar for kfrivera

Hi! Can you help me with this matter? The client session expired when its system date is advanced than the server. The client can no longer login in the program. This happens in Internet Explorer browser. Thanks in advance!:)

Member Avatar for jbennet
0
53
Member Avatar for kevin wood

i am trying to set session variable using a form but i ahve never done this before and i am unsure of how this is done. i have had a look at a few examples on line but still i am not clear on how this works. here is what …

Member Avatar for kevin wood
0
88
Member Avatar for Jesi523

Hello, I am used to VB.Net, and I recently starting using ASP.Net 2.0 with VB.Net. What I do not understand is how to keep my variables. Everytime the page goes back to the server I lose information. It gets lost. I've looked everywhere and read a lot of information and …

Member Avatar for dickersonka
0
126
Member Avatar for AdventureX

Hey people, I'm at uni and we have lab sessions for Java. In my lab session I have been given an exercise to complete however I need help because I don't know where to start!! Can anyone help me? If you can I will post back with the task to …

Member Avatar for dickersonka
0
92
Member Avatar for kxh29

Hello Team: I have users who use Reflection-X (we are on AIX 4.3)when execution our application software. If they do not "back out" of the application (... Select X on the various menu screens...) gracefully, and just "click" on the "RED X", in the upper right hand corner of the …

Member Avatar for krisoccer
0
150
Member Avatar for priti_s

Please tell me message driven bean can be public or private? also for session bean, it can be public or private? Thanks

0
61
Member Avatar for MDGM

hi all, I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page: [CODE]<!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" --> [/CODE] and so I am having to put in the …

Member Avatar for scru
-1
170
Member Avatar for cctaco

I'm using joomla and sobi2, I don't like the layout and want to create a way for the site visitor to choose a category from the home page which should look like this. [URL="http://www.bidmyneeds.com/index.php?option=com_sobi2&Itemid=28"]http://www.bidmyneeds.com/index.php?option=com_sobi2&Itemid=28[/URL] Then I want them taken to this page. [URL="http://www.bidmyneeds.com/index.php?option=com_sobi2&sobi2Task=search&Itemid=28"]http://www.bidmyneeds.com/index.php?option=com_sobi2&sobi2Task=search&Itemid=28[/URL] Where the select catagory would be already …

Member Avatar for cctaco
0
299
Member Avatar for mrcniceguy

I`M CREATING A PHP SITE,AND THERE IS A MEMBER PROFILE(myprofile.php). AFTER MEMBER LOG IN SESSION ARE REGISTERED. NOW THE PROBLEM COMES,IF MEMBER MOVES TO ANOTHER PAGE AND IF HE WANT TO BE BACK TO HIS PROFILE BY CLICKING THE BACK BUTTON,IT SHOWS THAT U MUST REFRESH A PAGE. I TRIED …

Member Avatar for mrcniceguy
0
111
Member Avatar for Venom Rush

Hi there I'm new to using sessions and I'd like some input on what the best method is for my situation. The site I'm building requires a shopping cart. A very simple one I might add. There will be no credit card facility or login system (explained in next paragraph). …

Member Avatar for R0bb0b
0
107
Member Avatar for google503

[COLOR="Red"]When I open my page I get this error:[/COLOR] [code] Parse error: syntax error, unexpected $end in /home/a9617139/public_html/order2.php on line 215[/code] [COLOR="Red"]Here's all of the code for the page:[/COLOR] [code] <? session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { var field = document.forms[0]; for (i …

Member Avatar for R0bb0b
0
176
Member Avatar for google503

[COLOR="Red"]I have a code and it comes up with this error:[/COLOR] [code]Parse error: syntax error, unexpected T_VARIABLE in /home/a9617139/public_html/order2.php on line 1[/code] [COLOR="Red"]I don't know why it does. This is my code for that page:[/COLOR] [code] <?php session_start(); ?> <script language="JavaScript" type="text/javascript"><!-- function placeFocus() { if (document.forms.length > 0) { …

Member Avatar for cwarn23
0
142
Member Avatar for gparadox

These are the directions: Recursive Descent Parsing Consider the following BNF grammar: E -> T + E | T - E | T T -> P * T | P / T | P P -> I | (E) I -> a | b | ... | y | z …

Member Avatar for gparadox
0
129
Member Avatar for Venom Rush

Hi there I have a problem with sessions at the moment. My aim is to be able to use sessions with out getting those ugly url's. In my php.ini session.use_trans_sid is on and session.use_cookies is on. I'm using ini_set("url_rewriter.tags",""); to stop the server from creating url's with PHPSESSID=bunchofrandomnumbersandlettershere which works …

Member Avatar for cwarn23
0
200
Member Avatar for rajeesh_rsn

I am new to PHP I need a little help in my php login script... I had 3 pages 1. index.html (user type username and password ) 2. login.php 3. logout.php ie [B][U]index.html[/U][/B] <html> /Main Page /////// <body> <form action="login.php" method="post"> <input name="uname" type="text" id="uname" /> <input name="pass" type="text" id="pass" …

Member Avatar for Shanti C
0
142
Member Avatar for Robert72

I'd like to write a shell script that'd parse data from a pipe and then ask the user questions. ie: [code]echo "Ann Bob Charlie" | checkuser.sh checkuser.sh starting Ann is OK. Bob is not in the system. Add Bob? (y/n): [/code] I know a couple ways to read from a …

Member Avatar for JeoSaurus
0
168
Member Avatar for jazardezign

I am trying to get Google to show my title and meta description but it shows the description from dmoz.com. I have the meta data "noodp" in my <head> but it is under some JavaScript. Also the page redirects due to session id passing and cookie sessions for tracking purpose. …

Member Avatar for Dani
0
155
Member Avatar for Venom Rush

Hi there I just need some clarification on sessions. If I have $_SESSION['name'] = $_POST['name']; in my php will it $_SESSION['name'] be created numerous times on different pc's? For example: Joe submits a form and $_SESSION['name'] is created with Joe being the value. Then Suzy submits a form and $_SESSION['name'] …

Member Avatar for Venom Rush
0
111
Member Avatar for 65!sesa

Hello pipo Iam pretty new at php.I implemented a log in page as shown below: <?php session_start(); include("./connect.php"); // start the session $errorMessage = ''; if (isset($_POST) && isset($_POST)) { //--------------------------------------------------------------- if (isset($_POST)) { // if form has been submitted //check out the fields if (isset($_POST) || isset($_POST)) { // …

Member Avatar for sDJh
0
87
Member Avatar for Morty222

A user will select a tournament to register for, then add a team, then I store the following into a session: $teamID; $tournyID; $gatefee; $cost; When they click add to cart I update the session using this: $_SESSION['cart'][]['team'] = $teamID; $_SESSION['cart'][]['tournament'] = $tournyID; $_SESSION['cart'][]['gatefee'] = $gatefee; $_SESSION['cart'][]['cost'] = $cost; My …

Member Avatar for ShawnCplus
0
179
Member Avatar for kristenharding

So I am completely new to ASP .NET and my first page needs to be a log in page. I have a database in SQL 2000 that has a table called tblEmployee. This table holds usernames, passwords, and group security details. I need to grab quite a few fields from …

Member Avatar for cVz
0
69
Member Avatar for avsparmar

i am building a web chat application for mobiles. Registration form for new users currently includes username , password , re-enter password and a submit button to send all to a form bean. i am having problem to create a link or a button to send the input of 'username' …

Member Avatar for sbhavan
0
284
Member Avatar for shijunair

I am facing problem while retrieving values from the jsp page. my database structure is as follows: ----------------------------------------------------------------------- m_emp_no|from_date|to_date|approver|status| ________________________________________ 1002 | 22/9/2008 | 23/9/2008|1003 |pending 1004 | 29/9/2008 | 30/9/2008|1003 |pending 2044 | 15/9/2008 | 16/9/2008|3076 |pending -------------------------------------------------------------------------- I am retrieving values from database properly using the following sql …

Member Avatar for shijunair
0
247
Member Avatar for preethi_ga

Hello, Im using ASP.NET as front end and SQL Server as back-end. and i couldnt navigate the records. im not getting correct way. more over im having some doubts in the dataset also. normally im designing the dataset by picking the dataset from "Add New Items" only. because, if i …

0
114
Member Avatar for assgar

Hi I am having problems with sessions. When using Internet Explorer I can pass sessions to other pages. I cannot pass sessions when I use Mozilla Firefox. //at the top of the page session_start(); //value passed $last_login = $_SESSION['s_last_login'];//last user login history PHP.ini: //This is my PHP.ini file session configuration …

Member Avatar for R0bb0b
0
128
Member Avatar for SonxQ7

Always get warning when using raw type Lists/Sets/Iterators etc. [code] public java.util.List /* <-- Warning here */ getUsersByAge(int minAage) { org.hibernate.Query q = session.createQuery("from User u where u.age >= :minAge"); q.setInteger("minAge", minAage); return q.list(); /* <-- Warning here */ } [/code] I've chaged this by [code] public java.util.List<User> getUsersByAge(int minAage) …

Member Avatar for vite
0
215
Member Avatar for mohammed2raja

I want know more about session and cookies. How it maintain and what is it use using php. where all session variables are stored in differnet web server. How session is maintained in Apache server and ISS server. All depth information about server with example. Please give me some url …

Member Avatar for Shanti C
0
114
Member Avatar for keanan

I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it …

Member Avatar for keanan
0
171
Member Avatar for Doc Holiday

Hello All, I need to pass two session varaibles from gridview to open another page ("Detail.aspx") I got the session varaibles work with the "AutoGenerateSelectButton = true". But I need to use an image instead and not sure where to start. I got the images to display and open the …

0
51
Member Avatar for cybernaut09

I have a jsp page to take input from user and want to store values in database with the confirmation message on the same jsp page . But I already have stored an array list in session during processing of other pages of other modules of my project . Now …

Member Avatar for peter_budo
0
97
Member Avatar for cybernaut09

I read jsp tutorial by peter_budo on database connectivity using MVC model in jsp then I tried to create a registration page but I have errors on my page . Please help me correct them. I here have 1. registration.jsp - as interface for taking input 2. RegisterServlet.java - as …

Member Avatar for peter_budo
0
2K
Member Avatar for ocbphoto

Hi guys, Once again here i am asking for your wise knowledge, i am having porblems with deleting a record. I can update the record but when i am trying to delete it i cant it it does nothing here is my code [code] <?php require_once('Connections/hello.php'); ?> <?php if (!isset($_SESSION)) …

Member Avatar for ocbphoto
0
161
Member Avatar for preethi_ga

Hi, Im using ASP.NET as front end and SQL SERVER as backend. i navigate the records in this using session variables. but its not working. [code=asp.net]Imports System Imports System.Data Imports System.Data.SqlClient [/code] After Inherits im writing [code=asp.net] Dim con as SqlConnection Dim com as SqlCommand Dim adp as SqlDataAdapter Dim …

Member Avatar for preethi_ga
0
142
Member Avatar for mexabet

I have the following script for my Guestbook and it works fine. But I came across a captcha script I would like to incorporate into the already existing Guestbook. I have attached the captcha files here. Please, can anyone help me to readjust the Guestbook codes to accommodate the Captcha? …

0
72
Member Avatar for skippybosco

I am accessing a 3rd part API for an integration script I'm developing. It has a 3 step process in creating a userid (1. get a token 2. login as admin 3. do admin stuff) I've scripted it via server side script that is triggered on a new user being …

Member Avatar for skippybosco
0
178
Member Avatar for priti_s

which are the legal methods in a stateless session bean class? thanks in advance! :-)

Member Avatar for masijade
0
83
Member Avatar for dreamer14

[code=jsp]<%@ page import="java.lang.,java.util.,javax.mail.,javax.mail.internet., javax.activation.*" %> <% String p_to = "abc@hotmail.com"; // Please fill in your email here String p_from = "abcd@yahoo.com.sg"; // Please fill in receipient’s email here String p_subject = "Testing"; String p_message = "This is a test email"; String l_host = "smtp.mail.yahoo.com.sg"; // Gets the System properties Properties …

Member Avatar for peter_budo
0
190
Member Avatar for terry29946

My XP setup has been working OK but now it doesn't start with my proper desktop display settings. I have Windows Classic theme selected for the display properties but lately when I start Windows I get a desktop that is Windows Classic but with XP "windows and buttons" (Appearance tab). …

Member Avatar for terry29946
0
218
Member Avatar for venkatramasamy

Hi to All, Just override some inconvenience with the session "inporoc: mode, i decided use some other and successfully implemented the SQLServer mode, But My Webserver(Webspace Provider) doesnot support for the SQlServerMode, so again i tried for some other option, this time Stateserver, it works fine in a New Empty …

Member Avatar for venkatramasamy
0
162
Member Avatar for praveen_dusari

hi all, i want to develop a shopping cart which uses only sessions to store products their id and prices etc. so, i thought of an idea to store products details in a multidimensional arrays and then into session my idea is like this [code]array( [productid1]=>array( [0]=>product name [1]=>productprice [2]=>product …

Member Avatar for MVied
0
87

The End.