4,124 Topics

Member Avatar for
Member Avatar for mayuri_desh

i have a login page, where i check login name and password if it matches i create a session.and redrect it to other page, now the problem is in localhost(WAMP Server)it works fine but in server when i host it it does not redirect it shows an error like this …

Member Avatar for mayuri_desh
0
105
Member Avatar for digiplaystudios

Hi There, For some reason the following is not working - Inside the text field it displays nothing: [CODE]<?php include 'dbc.php'; page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[id]'"); $row_settings = mysql_fetch_array($rs_settings); ?> <html> <head> </head> <body> <form action="index.php" method="post" name="regForm" id="regForm" > <input name="first_name" type="text" class="updateusersmall" id="first_name" value="<? …

Member Avatar for P0lT10n
0
155
Member Avatar for karthiknbc

Hi, I migrated the session state from "InProc" to "SqlState" by making the classes serializable, and the application works fine by retrieving data from the database and displaying it on the forms but the error message displays as follows when i try to save any information into the database from …

0
77
Member Avatar for aadebayo

Hello I have searched and tried to implement this without any success. I have written a code to update several records using a checkbox. This works perfectly. However, I wanmt to add the pagination functionality to it, but this is proving a nightmare. Please can some one help me? Below …

0
82
Member Avatar for KPheasey

I am having a weird problem setting a session variable. I use a session array ($_SESSION['message']) to display messages. $_SESSION['message']['type'] = error/success; $_SESSION['message']['message'] = $message; Here is the function for displaying the message: [code=php] function displayMessage(){ if(isset($_SESSION['message'])){ echo" <div class=\"notification " . $_SESSION['message']['type'] . " png_bg\"> <div> " . $_SESSION['message']['message'] …

Member Avatar for KPheasey
0
288
Member Avatar for madhu ms

Hi.. i need to learn how to send the username and password to the database and when the user logs in it should retrieve the password from the database and authenticate if the username and password is correct. Am using this jsp code and getting error in (Resultset line) [U]here …

Member Avatar for javaAddict
0
3K
Member Avatar for darangho

Hi everyone, I am trying to write a code that receives an input from textarea, transfer that input to servlet and send an email with that input using javamail API. It seems that the codes work fine with english characters, but it doesn't work with non-english characters (i am using …

0
61
Member Avatar for dannynez

i get this Warning: Cannot modify header information - headers already sent by (output started at c:\appserv\www\conectarse.php:2) in c:\appserv\www\conectarse.php on line 61 and this warning happen in line 58 - header("Location: ".$MM_redirectLoginSuccess); and in line 61 - header("Location: ".$MM_redirectLoginFailed); pls i need somebody help me to resolve this this is …

Member Avatar for pzuurveen
0
130
Member Avatar for ujjval dave

hi every one, i need your help in php code. my error is for profile page. after implementing lots of php code in this page,my page became auto refresh in every 2secound. i don't know what happend to it. i m attaching my code pls elp me. [CODE] <?php //get …

Member Avatar for ujjval dave
0
173
Member Avatar for visweswaran28

Hi, I am creating web application. In that I want to set session timeout (not idle timeout). If a user logged in that time the session time will start and it automatically should detect session timeout the page should redirect to another page. How can I acheive this.

Member Avatar for rohand
0
221
Member Avatar for becraig

I need to assign a variable based on its value. ie: $variable = 'value' (if value != "Session['value']" My brain is not really working atm I know there has to be a simple way to do this. I am selecting a random file from a directory and do not want …

Member Avatar for becraig
0
102
Member Avatar for nikita.chandra

hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance!

Member Avatar for Stefano Mtangoo
0
73
Member Avatar for digiplaystudios

Hi There, I've got a membership script and a login using PHP and MySQL databases however when it logs in it simply displays a PHP page - the same one for all users. I want to be able to customise the members page so it says things like: Hello, <username>. …

Member Avatar for P0lT10n
0
215
Member Avatar for Indirect

Hey. So i was working on a shopping cart that didn't focus much on having a database to support the information. I have a snippet of code that checks to make sure there is no dublicates. if there is it just changes the quantity to the right one. but if …

Member Avatar for Indirect
0
87
Member Avatar for wm811

I've searched as much as I can, for the previous two weeks between projects, and have yet to find a clear answer (I'm still new to C#, so what's clear to most does not apply.) Our website has a member login and then members can update various contact information for …

Member Avatar for jbisono
0
552
Member Avatar for Bhargavi V

My main idea is to link the three combo boxes I had taken appSet, app, package comboboxes Now when I select one iten in appSet then the remaining two comboboxes should show the data related to the selected item in the appSet and when I select one item in the …

Member Avatar for Bhargavi V
0
940
Member Avatar for Bhargavi V

Hi all, I am getting the following error when I am loading the data into the ComboBox and the ComboBoxes are linked to each other I am getting the errors as below Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at client.cpm.dailyT20.CBRCPMDailyT20View.appComboBox_actionPerformed(CBRCPMDailyT20View.java:235) at client.cpm.dailyT20.CBRCPMDailyT20View.access$1(CBRCPMDailyT20View.java:234) at client.cpm.dailyT20.CBRCPMDailyT20View$2.actionPerformed(CBRCPMDailyT20View.java:227) at javax.swing.JComboBox.fireActionEvent(Unknown Source) at javax.swing.JComboBox.contentsChanged(Unknown Source) at …

Member Avatar for Bhargavi V
0
582
Member Avatar for JuranHuman

Hi Everyone I am busy with a shooping cart but only use cookies to eliminate using a login. I have everything set so that you can add to the basket, but the problem comes in when I want to delete an item from the basket. I set the specific cookie's …

Member Avatar for Lusiphur
0
460
Member Avatar for gudads

//problem217C #include<stdio.h> int main(void) { int a=1,b=2,c=3,d=4; printf("\n1234"); printf("\n%d %o %x %c\n",a,b,c,d); printf("1"); printf("2"); printf("3"); printf("4"); } my output is: [Session started at 2010-09-14 17:57:05 -0700.] 1234 1 2 3  1234 The Debugger has exited with status 0. This is wrong, i dont know why? can some 1 help.

Member Avatar for gerard4143
0
61
Member Avatar for rahulrulez

Hey guys.. I'm working on one project which is in directory - [QUOTE]C:\Tomcat 6\webapps\ROOT\cart[/QUOTE] This is the code in file called shop.jsp [CODE] <%@ page language = "java" contentType = "text/html" import = "ShoppingBasket, Product, java.sql.*" errorPage = "errorpage.jsp" %> <html> <head> <title>Welcome to Shop</title></head> <body> <table width = "385" …

Member Avatar for nohup
0
2K
Member Avatar for jimbennett57

I am creating buttons in a table programmatically and the click event has stopped working. I must have done something earlier in the page, as it used to work. Any suggestions as to where I might look would be much appreciated. The buttons are built into a table row, one …

Member Avatar for jimbennett57
0
688
Member Avatar for jeffcogswell

I'm here at the IDF 2010 conference in San Francisco, and during this morning's keynote session, I had to the opportunity to see some pretty cool technology. One of the things that they demonstrated was essentially the next generation of handheld game controllers. Think of the Wii remotes, but with …

Member Avatar for Dani
1
235
Member Avatar for mikecronauer

I am using a web page to input data into mysql using php. I am using ajax to pull back the same data from a php file on the same web page. I click my "get data" button (it runs my ajax/php function) right after I make an update to …

Member Avatar for mikecronauer
0
271
Member Avatar for robertmacedonia

Hello to all, I did not know how to entitle this post,since it is more of a logical problem,but it's connected to the writing of my objects to a file. So, my server expects connections from multiple clients. The clients vote for the candidates offered to them by a menu, …

Member Avatar for robertmacedonia
0
154
Member Avatar for finnj6

Hi I'm trying to develop a site that users can log into. It's all standard enough the details are being kept on a mysql database. I can add the details to the db but my code for logging in isn't working. here is my login script [CODE]function user_login($username, $password) { …

Member Avatar for hielo
0
147
Member Avatar for Muincat

Hi Everyone In the interest of not hijacking someone else' troubleshooting thread, I'm starting a new one, but I don't know if anyone will be able to help me at this point. Here's the situation: I passed an older HP computer "sight unseen" on to a friend to let his …

Member Avatar for Muincat
0
716
Member Avatar for nikita.chandra

here is the java script where i used window.close() function but it's not working. <script language="javascript"> var answer = confirm("Session expired! Want to go to the home page?") if (answer){ window.location = "index.jsp" } else{ window.close(); }

Member Avatar for Taywin
0
101
Member Avatar for Kevin_160

Hi Everybody, FYI (In order to get a feeling with the time it takes to send command strings to signal generators via a GPIB bus, I want to send a voltage level high pulse to an oscilloscope. Ones the RF signal arrives via a detector diode, The pulse and the …

Member Avatar for Kevin_160
0
355
Member Avatar for nikita.chandra

hi all ! In my web application for bus ticket booking i want to use session. Here i m describing the flow of my application briefly------------ (1) My first jsp page is index.jsp and after submiting this page it will go to servlet SenndBusInfo.java for processing. Here i am creating …

Member Avatar for nikita.chandra
0
161
Member Avatar for nikita.chandra
Member Avatar for Triztian

Hi everyone hope you can help me with this issue, I'm trying to make a login system that is object oriented so I have the following classes: [INDENT] [LIST] [*]MySQLDB: Peforms all database operations, adding/removing members, checking passwords and usernames, also performing querys. [*]Session: Performs Session actions(log in/out, keeping track …

Member Avatar for Stefano Mtangoo
0
297
Member Avatar for nikita.chandra

hi.. Is it ok to add more than 10 attributed on session object or it will slow down my application?

0
43
Member Avatar for drostydw

Howdy y'all, Got a question, why were here right, I have a page that is server side - no html included all php - I need to call/include a javascript function to handle a rather complex parsing routine but I am not sure how I go about calling the function …

Member Avatar for Nyight
0
201
Member Avatar for Kingcoder210

Which datagrid should I use in vb.net? Which grid works like mshflexgrid? I have used mshflexgrid in my vb.net project as a result it shows error when I am trying to build my project! Please check my code & tell me which grid will support my code. Please add example …

0
82
Member Avatar for Soumya Rajiv

[COLOR="Green"] I am using Lotus C++ API to create DLL's. I use VB6 and Lotus8.5.0 for programming. I am able to create EXE files & am able to execute and see the results. I then created a DLL,used that DLL successfully in LotusScript. But when I tried to use the …

0
39
Member Avatar for usiyalla

Hi i'm doing some php i make login page where i check if user put right information i redirect him/her to index.php where session starts and other things occur.But when i put right username and password it not going to index.php else it coming back to login.php again. Here is …

Member Avatar for hielo
0
128
Member Avatar for ambikanair

HI, I am currently working on a project to develop a webpage using jsp. I need to include some css properties in the jsp file. But it doesnt work even though I am not getting any errors. My jsp code is [CODE] <% String captcha = (String) session.getAttribute("captcha"); String code …

Member Avatar for peter_budo
0
153
Member Avatar for andydeans

hi, i get this error on one of my pages, however if i move the session start code to check if user is logged in down a few lines below some query code for searching the site it works fine. why would moving the session start down a bit on …

Member Avatar for andydeans
0
254
Member Avatar for Dean_Grobler

Hi there guys, I got this assignment where I need to set a session attribute. Although I'm having problems since I cant set attribute that is of type double? I got these hints but since I've worked with doubleValue() or downcasting, the hints didn't help me much.. Hints: -Recall that …

Member Avatar for Dean_Grobler
0
239
Member Avatar for donnybrookus

Running Vista on cox and Firefox. also have a wireless LAN with a IBM laptop running XP also on firefox. I get Server not found errors repeatedly on both computers. However, the frequency is random. The computer, either one, may error 10 or more times in a row, then not …

Member Avatar for techsheaven
0
107
Member Avatar for moon207

hello everybody, I'm new to jsp.I have to develope web portal for my company but i had problem with my login page. I hope that you can help this problem. Here is the code: <%@ page contentType="text/html" import="java.sql.*, java.util.Date, java.io.*" %> <%! String CheckLogin(String Login, String Password) throws Exception { …

0
34
Member Avatar for ayooshkasmth

Hi, I have a parent and child form, with the child form connected to the parent form by the parent_id. The forms are on different pages, and i am trying to pass the id of the parent form to the child form using session variables. What ive done (with no …

Member Avatar for ayooshkasmth
0
160
Member Avatar for 68thorby68

Hi, I have developed a site that allows users to post details for others to view. Within this I have built a secure login process that uses cookies to help the user around the site. However, when using sites like facebook, I notice that I receive emails with links that …

Member Avatar for hielo
0
110
Member Avatar for perroned

Hello DaniWeb, its Danny here :-) In my program I will open several web pages in IE or default browser. I already know how to do that. But I wuld REALLY like to be able to open a URL in an already open page. Like instead of always opening a …

Member Avatar for ToRtUgOxX
0
70
Member Avatar for ello

Hey guys, wondering if you could help me with these two bits of code. What I'm trying to do is count how many clicks a link has been clicked, then when it has been clicked x amount of times, it echos 'test' Now the code below does that, but I've …

Member Avatar for ello
0
120
Member Avatar for sami.asanga

Hi all, I need a big help..I was struggling about 3 /more days with this code..It is not giving me the result I want.It is not that difficult thing.What I want is to display the values in database(name,description,image) according to the id selected. And then it can be edited if …

Member Avatar for hielo
0
68
Member Avatar for ApocDen

This will count number of page views in a session. Simple, to add on the page just add the code on the top of the page and make sure it is before any html.

Member Avatar for kyrilkong
0
1K
Member Avatar for ello

Hey guys, can anyone point out where I'm going wrong with this? It counts the sessions fine, but the IF statement doesn't seem to be working as it should. [CODE] <?php session_start(); ($_SESSION['count']) ? $_SESSION['count']++ : $_SESSION['count'] = 1; if (!(count) % 5) { echo "test"; } ?> <!DOCTYPE HTML …

Member Avatar for ello
0
122
Member Avatar for deepshikha.joha

I made this page and keep on getting error on the same page and webconfig file..... Errors Error 1 'Culture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 2 'UICulture' is not a member of 'ASP.emergency_plan_error_aspx'. Error 3 'InitializeCulture'is not a member of 'ASP.emergency_plan_error_aspx'. Error 4 'CreateResourceBasedLiteralControl'is nt a member of'ASP.emergency_plan_error_aspx'. …

Member Avatar for rohand
0
196
Member Avatar for Nyight

Alright so I want to force a new session but I'm not even sure how to use the code I was given to do just that. I have 2 web browser controls in one app that need 2 different sessions. Can this code do what I need it to? If …

0
76

The End.