4,124 Topics
![]() | |
Hi, I am developing online examination in servlets/jsp. the problem with I stucked with is how to show user a timer. the jsp page which showing current question to user should show time remaining & that time should be continuously decreasing by 1 sec. One approch is to use applet … | |
I need to figure out how to bind data and call it back anywhere on the page. Basically, this is what I am trying to do. Keep in mind that I am an asp programmer and am very new to ASP.NET. I have build a custom login page that works. … | |
Hi New to ASP auth_in.asp [CODE]If (Mgr_Access = TRUE) And (Adv_Access = TRUE) Then %> <!-- #include file = "login_option.asp" --> <% END if[/CODE] login.asp [CODE] <!-- MAIN BODY --> <p><b>Choose your Login Option</b></p> <form method="post" action=""> <input TYPE="radio" NAME="Login" VALUE="MG" CHECKED>Manager <input TYPE="radio" NAME="Login" VALUE="AD">Advisor </br> </br><input type="submit" value="Submit"> … ![]() | |
I wonder if anyone can help with this problem I have I'm trying to create a shopping cart with session variables, there are 5 buttons on the form and by clicking 1 of these displays the relevant product and price in session variables in textboxes on the next form, the … | |
So I managed to get this nice little virus on my fairly new pc and within minutes my computer became useless. I can no longer open the internet or any other program without receiving a message telling me that Windows cannot find the file and that I may not have … | |
Hai.. Is there possible to use module class in web application.. in web application i have one module class.. the module class one variable declared to assing particular value then i am go to mywebpage to print that modulevariable the result is shown but the same time i have changed … | |
hi my windows 98 PC keeps on displaying the following error stop C000021A {Fatal System Error} The session manager initialization process terminated unexpextadly with status of (0x00000000 0x00000000) the system has been shutdown. can anybody help me resolve this problem? Thanks for your help in advance. | |
I made a macro to sort a form and it works fine as long as every thing that it searches for is there to find. If not it times out waiting for an event. I do not know VB, The only reason I put the [ ] around [rcEnterPos, "30", … | |
I used the following code for session time out in idle state window. after a minute popup will arise, if user didn't respond alert message within 2 minuts session will timeout . firefox it's working fine. But IE auto timeout in 2 minuts is not working , if user is … | |
I want to get a parameter from the URL to another jsp page. for eg: [URL="http://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4"]hxxp://localhost:8080/vote-0.3/view-poll.jsp?poll_id=4[/URL] get this(poll_id=4) in my new jsp & then pass this parameter to its bean & servlet. the link to the new jsp is in this page. what do I need to do in my … | |
I need to do the slideshow action for the database images. If i get all the images from the Database, i need to provide the slideshow for all those images. Here is the code for i have done earlier. <%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@ page language="java" %> <%@ page import="java.sql.*"%> … | |
I have a problem as following... # I have stored some value in session to reach a Page "A" # I have other pages "B", "C", "D". # If I am moving from Page "A" to "B", I should not clear my session value but If I am moving from … | |
I need help on this, im not getting how to go about this... ok, let me explain where im stuck, i have a class, and its structure goes like this(i will show a some kind of replica of original class, so that you guys can easily follow my question), [code=Java] … | |
i want to show a image using servlet,which is being called by a java file (beans). in that java how will i get the parameter eg: poll-id=1,2 or 3...n from that jsp page?....here what i've done(.java file) but the its not showing the image(error: data not available): [CODE] package myapp.webwork.beans; … | |
I use the following code to display the user name on the website.. like "Welcome Kaushik" [CODE] <jsp:useBean id="adminUser" class="bss.BSSUserDetailsDo" scope="session"/> <font size="4" color="brown" face="verdana"> <bean:message key="Bss.user.welcome"/> //comes from some property file abcd.property <jsp:getProperty name="adminUser" property="firstName"/> </font> [/CODE] i want to access the user first name from my JS function. … | |
I am running XP Pro on both my Desktop and Laptop computers. Both have issues when using hibernation at times. The desktop will sometimes refuse to go into hibernation and show as error of not enough resources, I have 2.5GB RAM on that machine and 45 GB free on the … | |
Please copy this code and run on your editor and see preview, as you can see this when you type user name and press enter, it will [B][U]show text type animate[/U] [/B], these code is under javascripts. Now I would like to change to session variable in php code or … | |
I am working with PyScripter and WxPython. When I mess up a part of the WxPython code it will run and stop to tell me the error but the debug session will continue. I have to restart PyScripter each time. What am I doing wrong? (apart from not putting the … | |
Hi, hoping someone might be able to help us with this one as we're well & truly stumped... we have a site that uses PHP to authenticate users against a database and allow access if the login details are correct. We then have a script on each page to make … | |
Hi All, We have a product which is web based and uses sessions for everyone logged in and when they timeout the Session_OnEnd is supposed to fire and delete records from a table which stores some data for the user. The problem is that the Session_OnEnd is not firing and … | |
[code] <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <context-param> <param-name>webmaster</param-name> <param-value>webmaster@myeducationonline.com</param-value> </context-param> <context-param> <param-name>jdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </context-param> <context-param> <param-name>dbURL</param-name> <param-value>jdbc.odbc.clientDB</param-value> </context-param> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app> [/code] so this file as to be put in my "workspace" where my projects are ? | |
I need a simple login script that has the ability to redirect a user. For example: - I want to be able to protect certain pages so that a user has to login to access them (in this case they wouldn't get redirected) - Then in another case I would … | |
I am running xp as my os and have encountered the following stop err on xp start up STOP: C000021a [Fatal System Error] The Session Manager Initialization system process terminated unexpectedly with a status of 0xc0000263 (0x00000000 0x00000000) The system has been shut down If I attempt to start in … | |
I want to maintain single session for every module I am working on one project ,in that i am using differnt module for(disply item,download item ,and billing) i want to maintain single session when request goes from 1st module to last module Please help me | |
I have some java code that is pulling from SQL some data, which is filling a groupbox with Medicare ICD-9-CM billable codes. The user can click the Category, then select the codeset then the third box fills in the sub codes and description for them to make the final selection … | |
[B]I've installed Apache2.2.4 & php5.2.3 in my windows xp, evry thing is going perfect but when I want to transfer a session variable to another form its not tranfering.......plz any body help me on this regard. will I have to configer any file....its urgent for me..[/B] | |
Hi, in my asp.net application i need to redirect the user to a new page when the session is timedout. I am using windows authentication for the web pages. i can not handle that in session_end event. Any help in this regard will be very much helpful. Thanks a lot. … | |
Hi I have a web Application which uses servlets. As soon as any user Logs i create a folder for the user and the files uploaded by the user are stored in that folder. Now when the users Logs out of the Application I am supposed to delete the folder … | |
Hey guys. Got a quick question. I am having a problem with a message board that I am creating. I have created the log in and registration page and the sessions needed to use the site nad it all works fine, but when the user posts a message I can't … | |
How do i create a session time out? i have tried with <session-config> <session-timeout>1</session-timeout> </session-config> in web.xml file but nothing seems to happen after 5 min.. if i do refresh it still works | |
Can anyone help me fix X11 Xauth authentication? I get the error message "X11 connection rejected because of wrong authentication". It occurs when I switch from root user to any other non-root account. # ssh -X {hostname} {hostname}# xclock (works) {hostname}# su - user {hostname}$ xclock X11 connection rejected because … | |
I have a list of users(signed for a newsletter).I'm retrieving the list from a database when the admin clicks on a button. [B]There are maximum 10 users diplayed per page[/B].For example,if I had 30 users in the database,I would have 3 pages of users(Page 1,2,3); [B]For each listed user ,I … | |
Hello... I have a quiz application based on PHP. I use paging, which is showing only one question per page. I want to set a time limitation on the application. The problem is that when i do refresh the page then javascript countdown timer start from starting. What i want … | |
what is the difference between session and application scope at jsp. where we use session, application, page. can anybody give examples codes for this. | |
when i press f10 on my pc when it is booting up it displays the following: [I]Stop c000021a {Fatal System Error} The session Manager Initialization process terminated unexpectedly with status of 0xc000003a (0x00000000 0x00000000) The system has been shutdown[/I] does anyone know how i can resolve this problem thanks to … | |
//This example shows that how to store and retrieve data from cookies. // http://www.hanusoftware.com private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here if(!IsPostBack) { if(Request.Cookies["UserCook"] != null) { chkRemember.Checked = true; HttpCookie cook = Request.Cookies["UserCook"]; txtUserName.Text = cook["UserName"].ToString(); } } } private … | |
I installed OpenSUSE 10.2 on an old sysem. Just for kicks and giggles, i decided to install with the "minimum graphics system". I like it to a poing, except for the fact that I CAN'T TERMINATE IT! I don't know how! I want to close the session so i can … | |
Can anyone help me with this problem. I am converting a VB program to Delphi. The program accesses a DLL to get a session handle. It is necessary to pass a password, which I have, made up of Hex Bytes. The problem is with Delphi Char($C) returns '#$C'. In VB … | |
can we have more than 2 arguments in send query statement . for eg: Cli::send(@session, "reload,yes", "") | |
Hi I have a problem with a site I am doing. I am writing an email address as a session variable and on my dev machine (windows XP running EasyPHP) I am having no problems calling up user information based on this. BUT when I put it on the live … | |
Hello, again. My time is nearly up on the Ultrasound GUI I've been working on, and I've got one last major feature to implement: continuous capture at a user-selected 1 to 30 frames/second rate. In the past, I've tried running a loop that would take all the pictures, but for … | |
I have IIS setup on a Windows 2003 server configured with PHP. There's a section of the website that requires a login, and I have it setup to integrate the login with a Windows account on the server. What I would like is to create a home directory for each … | |
Hi , IF Client disabled the cookies..my question is .. Will session works in PHP..and if yes how it will work ? and if no what other method to maintain the state of the user. Thnaks in advance, mangesh. | |
[B]index.php[/B] [CODE] <?php /*header*/ header("Content-Type: image/png"); /*We'll set this variable later.*/ $new_string; /*register the session variable. */ session_register('new_string'); /*You will need these two lines below.*/ echo "<html><head><title>Verification</title></head>"; echo "<body>"; /* set up image, the first number is the width and the second is the height*/ $im = imageCreate(200, 40); /*creates … | |
Hello, I'm developing a small, web-based music sharing application. I used to create static HTML contents. But now, I need a dynamic site that retrieve information from databases (also write data to database). As a beginner in PHP and MySQL, I hope someone from here can help me out.. Here … | |
SignIn.html -------------- <HTML><HEAD> <TITLE>Log In To Your Account</TITLE> </HEAD> <BODY> <H2><Bold>Log In To You Account</Bold></H2> <p>To log in, type in your USERNAME and PASSWORD. <br>Then click on the Submit button.</p> <FORM ACTION="Sign.jsp" METHOD="POST"> <br>USERNAME: <INPUT TYPE=TEXT NAME ="UserName"> <br>PASSWORD: <INPUT TYPE=TEXT NAME ="Passwrd"> <br> <INPUT TYPE=Submit VALUE ="Submit"> </FORM> </BODY></HTML> … | |
Hello, I am trying to integrate a link in a Visio diagram to a specific remote desktop session. Basically, I want to be able to click a server in my drawing, and have remote desktop come up with a connection to that server. I know that the syntax of the … | |
Opera opens and loads ad sites automatically every 10/20 minutes used Spy bot and ad-aware with no results. Log below, please help. Logfile of Trend Micro HijackThis v2.0.0 (BETA) Scan saved at 11:15:47, on 11/07/2007 Platform: Windows 2003 SP1 (WinNT 5.02.3790) Boot mode: Normal Running processes: E:\Program Files (x86)\Lavasoft\Ad-Aware 2007\aawservice.exe … | |
I am new on PHP proramming. I want to use mail() function to send mail. In my Pc there is no mail server. I have confiure my php.ini file that is - SMTP = localhost, smtp_port = 25, sendmail_from = null, sendmail_path = null. But I can not send mail. … | |
Hello I want to pass the database retrieved username after user logs on & hence to check login correctness I am using php & jsp [code=php] <?php $conn= mysql_connect("localhost", "root", ""); if(!$conn){ exit("Error in SQL"); } mysql_select_db("college", $conn); $val1=$_REQUEST['login1']; $val2=$_REQUEST['password1']; $sql = "SELECT * FROM tlogin WHERE tid='$val1' AND tpasswd='$val2'"; … |
The End.