3,454 Topics
Hai, I need to read the Foxpro(dbf) file, and execute that file in MSSQL through Java code. That means Migrate the Foxpro dump file into MSSQL. Also i am using the Struts Tags for create new application. But the Tag was not working. I am using the following code for …
hi.. i wonder, what is wrong with my code? i want to let user update their previous question based on question number they selected. i have a dropdownlist called [B]qnum[/B]. when the qnum index changed, it should load respective question to textbox [B]question[/B]. however, i don't manage to update in …
I am trying to show info at the bottom of my data grid I get error saying object reference not set to an instance of an object Here is my code [B]Imports System.data Imports System.data.OleDb Imports System.Configuration Partial Class supplier Inherits System.Web.UI.Page Dim ConnString As String = ConfigurationManager.AppSettings("ConnString") Dim dbPath …
i have a problem.. i just can't see where i did go wrong.. when my page loads, i want the name and email appear in the textbox so that user can edit their name and email...but then, it doesn't update the record, but continue to save the old value of …
Hi, im facing some problem when i have to verify user at my login function. Im using Visual Web Developer with vb programming and MS SQL Server 2000 as my database. Basically my login form have few textbox for user to input the id and password, 1 radiolist for user …
hi.. i've created a table named :Survey [code]CREATE TABLE [dbo].[Survey] ( [CustomerID] [int] NOT NULL , [SurveyID] [int] IDENTITY (1, 1) NOT NULL , [SurveyTitle] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [SurveyDescription] [varchar] (300) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [DateCreated] AS (getdate()) , [coverletter] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL …
hi.. i've created a table named :Survey [code]CREATE TABLE [dbo].[Survey] ( [CustomerID] [int] NOT NULL , [SurveyID] [int] IDENTITY (1, 1) NOT NULL , [SurveyTitle] [varchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [SurveyDescription] [varchar] (300) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [DateCreated] AS (getdate()) , [coverletter] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL …
Hi! I'm a newbie with VB.NET and I'm so close to finished an internet explorer of my own and have come to the following problems: Whenever i type a URL into the combobox and hit "Go", i have a text box that fetches that URL. Everytime I enter a new …
I am trying to enter data into a datagrid and I get this message No value given for one or more required parameters. Can anyone see what is wrong. Here is the code Imports System.data Imports System.data.OleDb Imports System.Configuration Partial Class supplier Inherits System.Web.UI.Page Dim ConnString As String = ConfigurationManager.AppSettings("ConnString") …
This is what I have so far. I need to retrieve data and show in a grid view supplier ID supplier name and a command field to click more details that will include more detailed info. I am have problems on how to get the rows. i need to retrieve …
hi.. i have draft.aspx at first time view, i want the draft.aspx to take value QuestionNum in the database...so, at first time viewing, the draft.aspx shows QuestionNum.text=1 i have a button - "Next". i want user to click the button and they will be redirected to the draft.aspx displaying the …
hi there. please help me on this. Am working on a website. On one page i put a login form that will authenticate an administrator. However am trying to find a way that when the administrator logs off, no one can be able to press the back or forward button …
Dear colleagues, I have a BIG headache when I wish to toggle window mode from fullscreen to windowed and vice-versa with DOS applications. I need first to know in which window mode is beeing exhibited in one session. Imeans in WINDOWED mode or FULLSCREEN mode. And I do not know …
This is my first attempt at creating a website using PHP. My database is done in MySQL. It is for a made up university. I am having trouble creating the page that should allow current students enrolled at the university to search for courses and add them to their schedule. …
Hey everyone. I'm trying to write code to update a stat field within my database and I'm having some trouble passing the variables from the form page to the process page. Below is my code. I know it's not correct. I just want a button to say "Upgrade attribute 1" …
[I]why include file can not modify the header and cookies.can tell the reason. [/I]
G-Day I am a real newbie to ASP. I took over for a fellow who wrote a whole intranet full of ASP that I get to support now. I am having several users that are not able to use some of the pages in the intranet site. When the pages …
Hello all, We have created a java app that creates its own file format that we can assoicate with the application in Windows. We would like for the user to be able to double click on of these files while the app is running and have the app open it. …
Hey guys. I have a program that when i button is clicked it should increase an attribute by one and decrease a stat point by one. For some reason it dosent decrease the stat point by one, it sets it to -1 but it does increase the attribute by one. …
Hey everyone. Im trying to make an online RPG where you can join "Families" or clans. I the code below is what I have thus far. It works but for some reason it wont update the creating users "family_id" in the database thus not telling the server that he is …
[I]hi..[/I] my system should select the maximum QuestionNum from one of the my table in the database. after all, i would like to increment the value QuestionNum to 1... but i keep on receiving error [B]"[I]Cast from type 'DBNull' to type 'String' is not valid." [/I][/B]this is my code... Public …
When i make click on signout i m destrying the session object by session.abandon qith modifying the database with status = offline.. Bt when IE is closed directly without clicking on signout session object get destroyed bt the real problem is that [B]how to update SQL Server database as session …
Hey everyone. Ive been trying to set up a link that will allow people to see their profiles but I cant get the link to work. I have a center column that on each click gets the variable $page and loads the correct page using an include("profile.php"); Now I need …
hi every1 .. i'm bsy doin project which has facility of markin attendance... i'm using JSP for that.. and by using session i hv employee's " empID". I hv made a dynamic calendar..which can move to previous and next months....resp. and displayed using <table> My idea is to mark employee …
HI I was wondering if anyone knew of a way to store a session state variable from a Query based on information in an access database What i want to do is when the user logs in they supply their email address and password to log into site I want …
i know session variables store on the server side and cookies store on client side. Question: If i save the total answer for a summation as a session variables, and multiple online user are using the same system for calculation, does that means that session variable will be over write …
Hi, I'm creating a membership style website and I have set the session timeout to 10 minutes (for now). Ho do I redirect the user to a certain page (automatically) if the session has timeded out ? For example... For some online banking if you login and leave the computer …
i am using vs.net 2003. I have do the delete function in the datagrid. Bu the problem is when i run in IE, the "Error on page" msg will occur the the bottom of IE when i click "delete". Please help me.... below is my is the print screen for …
hi, I am trying a login page for my website. the login page works fine and i can take the username using sessions to the welcome page. now my question: would i be able to retrieve(show) data from mysql according to the username that i have in session? thanks
Hi peeps. My main reason for coming here is to ask for a little help, coding wise. Now i`m not sure what specific rules you have for requesting help so please don`t get on my back if i do something wrong. With that said, I`ve been trying to code a …
[COLOR=#000000]Hi my program won’t let me create a session, application, or cache variable. It also won’t allow me to do this: [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Response.Redirect("default.aspx?question=1")[/COLOR] [COLOR=#000000]Dim num As String = Request.QueryString("question")[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]In all cases, I get the message: You cannot refer to an instance member of a class …
Hello, I am attempting to create a session class. I want it to be able to store all kinds of data about the current session, such as member information, authentication, application data, or any other structures that would be unique to any given user. If I were to create a …
Hi I have a website that can search for journal article and display it page by page. when you search, the results are displayed with check boxes and people can select items by ticking the check boxes. I am using PHP session to store checked items until they display selected …
Hello everyone, I am new to python and I want to register and unregister the variables from a session (As we do in PHP using session_register() and session_unregister() function),So that i do not need to transfer them in the URL of my site. Can anybody tell me how can i …
Hi, This is my first ever "real" php script, so excuse any stupid code. Unfortunately the thing always return english, even if i'm on a chinese computer. [PHP] /*Get the language that should be used. First check cookies, as this may be set from a previous session. Then check browser …
When I first became interested in network security I read about data encryption, specifically encryption algorithms associated with the Session layer of the OSI model. I had an idea and although doesn't directly pertain to network communication security, it can however be compared with the Public\Private key distribution concept. My …
Hai friends iam doing project in swing ,in my project i want to send email while running my project.. i added the following code for email: [B]String host = "mail.gitech.in"; String from = "[/B][EMAIL="from@mail.com"][B]from@mail.com[/B][/EMAIL][B]" String to = "[/B][EMAIL="tomail@gitech.in"][B]tomail@gitech.in[/B][/EMAIL][B]"; // Get system properties try { Properties props = System.getProperties();[/B] [B] // …
I want to make new deployment descriptor for JBoss app server as I am migrating my application from websphere to JBoss IN websphere we have ibm-ejb-jar-bnd.xmi and ibm-ejb-jar-ext.xmi code for both of them are [B]ibm-ejb-jar-bnd.xmi[/B] <?xml version="1.0" encoding="UTF-8"?> <ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="[URL]http://www.omg.org/XMI[/URL]" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1101636685106"> <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/> <ejbBindings xmi:id="EnterpriseBeanBinding_1101636685106" jndiName="com.sa.Account"> <enterpriseBean …
Hi, i am trying to persist the session of my application. i have several complex objects, some of which may not be implementing serializable. i have started with retrieving the session and for each attribute in the session i generate an xml. the problem occurs when i try to convert …
Hi folks , I just started to learn J2EE using Netbeans(5.5) and JOnAS (4.8.4 ) . I tried to run a simple session bean(stateless) invoked through client application. I successfully deployed in jonas using Netbeans (5.5) but i can't able to successfully run it. Here with i attached client application(client2.zip) …
i am using tomcat 5.5,but i am unable to connect to database <HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY bgcolor="#8D9BCA" text="#333300" marginheight="0" marginwidth="0"> <center> <!-- row 2 --> <table height="1" width="381"> <td height="1" width="373"> <P align="center"> <P align="center"> <p align="center"><span style="letter-spacing: 1pt"><b><font size="3" face="Bookman Old Style">Login Form for Clients</font></b></span></p> <p align="center"> </p> …
Hey, I'm getting so fustrated with this now!! I'm making a site in jsp and I have created the registration page and the login page and everything works fine. However I want to start to use the session login to personalise the page depending if they have logged in or …
Hi I have a problem with session_start when I click Back key in browser: First I Run Az1.php then I press the "ok" key and I go to az2.php then I click "az3" Link and I go to az3.php but when I click Back in my browser for back to …
Hi I have found the following code for Redirecting the user to loginpage on Session timeout : /////////// Protected WithEvents body As System.Web.UI.HtmlControls.HtmlGenericControl Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load body.Attributes.Add("onLoad", "window.setTimeout(""window.location.href='login.aspx'""," & (Session.Timeout * 60 * 1000) + 5000 & ");") Response.Write("Wait for session …
I am creating a login sessin in php. In first part index.html takes in text for AUTH_NAME and password in AUTH_PASSWD. In the login.php I set these variables as global with session_register("AUTH_NAME") and session_register("AUTH_PASSWD"). code: index.html [PHP] <html> <center><h2>Login</h2> <form action=login.php method="post"> <table align=center> <tr><td>User</td> <td><input type=text name=AUTH_NAME size="20"></td></tr> <tr><td>Password</td><td><input …
Hello.. I am having two php pages the 1st page is the registration and in the 2nd page i need to use the ID associated with registration (stored in databae) I think we need to maintain sessions for this.. But I am not clear with its implementations.. Plz kindly help..
[COLOR=#191970]Hi Everybody I am using ASP.NET 2.0 In my application, i want to use session concept I have a user control, in which i have to set the default values for some controls to be session variables. eg: for a dropdown list i am using -1 as the defualt value …
When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) …
[COLOR=#000000]:eek: Hi all[/COLOR] [COLOR=#000000] Scenario:[/COLOR] [COLOR=#000000]I am creating dynamic PDF reports using XML and FONET. Reports include graph images which are also created on fly. Each time when report is requested graphs are created and saved on the server’s file system to be used by PDF. To save space on …
I have a small problem........ I have designed a page which should be accessed by valid users. after logging in , they have to access the page via a link. for this i have used send redirect method . but my session object is not being passed here. via the …
The End.