3,454 Topics

Member Avatar for
Member Avatar for cleopatra789

Hi, I m new to jsp and currently i m trying to fix this problem. In my project, we have an enhancement where we are trying to access a changepassword.jsp 1) directly through URL 2)Invoking this jsp after loginhandler.jsp. 1) is for existing users. 2) is for new users. We …

Member Avatar for masijade
0
131
Member Avatar for odinroot

Hi, Is it possible to access a https site using a certificate and keeping the session alive like it happens in the browsers? I'm doing a console app that needs to access a server by https to retrieve information but using the httplib, each time i make a request it …

0
49
Member Avatar for mustafaneguib

help please once again... my login page was working just fine when one morning it just stopped to function. now i have tried to fix it, buy changing some of the logic and also recreating the database. now the point i have reached is that when the user enters his …

Member Avatar for nav33n
0
118
Member Avatar for websurfer

Hello, was wandering if anybody out there can help me with the following: We use a third-party shopping cart, but they dont really make it easy to be able to buy "memberships". The way we have it now, is that they buy a "membership-card" (say item code: CLUBMEMBER", which when …

Member Avatar for kaleshwar
0
129
Member Avatar for justapimp

I've just taken over an old project that my boss would like me to incorporate a couple of session variables into the code in order to maintain data history on a few pages. The project itself is web page that consists of a frame design and on one frame is …

Member Avatar for Ramy Mahrous
0
104
Member Avatar for Barman007

I just got to the end of an assignment I needed to do and its due tommorow, but I broke my code and i've just spent hours trying to fix it, but I can't. Here are the two things I have left to complete.... [code] 1. A student must access …

0
80
Member Avatar for Alex Edwards

I'm getting a really odd error in my program. The lvl value retains its initial value if it's left alone, but when the program runs after you've assigned it a value it get's a ridiculous number... then the previous number after another assignment... and the process continues. Here's the code. …

0
110
Member Avatar for ChimpusDupus

Hi, I have a drop-down list that is used to select a theme (which can only be set in the Page_PreInit event) and so I set a session object called theme that I use to set the theme in the PreInit event. The problem is that on the postback, the …

Member Avatar for ChimpusDupus
0
102
Member Avatar for Barman007

For starters im making a survey form for a website and ive run into a bit of trouble, if anyone could help and point me in the right direction it would be muchly appreciated :) Im a bit of a php/mysql noob, I can kinda make cookies, I kinda know …

Member Avatar for R0bb0b
0
196
Member Avatar for VernonDozier

Hi, I am writing a program where I want the user to be able to e-mail me feedback, so I have downloaded javax.mail and I'm trying to send myself an e-mail to test it out. I have Yahoo Mail Plus. Below is my code, which I tweaked from one of …

Member Avatar for VernonDozier
0
872
Member Avatar for dannyman1234

Hello, Im very new to Ajax. I have a form with 2 input values , name and date. I have in the same page 3 links to select images, fonts and colours. When an image is selected, the child page closes and the parent page refreshes. Then i can see …

Member Avatar for drago865
0
79
Member Avatar for daniel88

Hi guys, This may well have been covered in another post and, if so, feel free to direct me to that one. Also, I hope that I am in the correct section! I am approaching the end of my semester and face the upcoming exams. Obviously most of the work …

Member Avatar for hammerhead
0
299
Member Avatar for runningeagle

Hello, I was in the middle of a session when suddenly all my programs give the error "The image file FILENAME.EXE is valid, but is for a different type of machine than the current machine." The only way I can get around the error is to go to the shortcut …

0
52
Member Avatar for razer.anthom

Hi all. I am having a weird problem with PHP sessions. I create a session but when I click a link inside my site, other session is created. To test it I copy this code below and tried to run in same environment (WAMP at localhost). The same behavior was …

Member Avatar for nav33n
0
235
Member Avatar for Phaelax

The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another script. When you log in, the page that did the check will show the login is successful, but …

Member Avatar for johnsquibb
0
159
Member Avatar for Dolly-Sweety

Hello friends, I faced a problem in sending email through servlet. I have downloaded mail.jar and activation.jar. All is running perfect but error is coming. javax.mail.MessagingException: [EOF] [code] import java.io.*; import java.net.*; import java.util.*; import java.sql.*; import javax.mail.*; import javax.mail.internet.*; import javax.servlet.*; import javax.servlet.http.*; /** * * @author Administrator */ …

Member Avatar for jwenting
0
1K
Member Avatar for pranav_jog
Member Avatar for JackyGZ
0
140
Member Avatar for TheWhite

1.) Update Checking. 2.) Score/Record keeping. 3.) Submitting score online. Update Checking: Currently, my program connects to a URL and checks if a new version is available. If one is, it simply opens up a dialog saying a new version is out and to go download it... Is there a …

Member Avatar for TheWhite
0
209
Member Avatar for zero_sequence

Hi to all, i have a charset issue when i use unicode characters in cfm pages... to be more specific when i use greek characters all i get is something not greek... i use charset in each page but the result is the same, i used utf-8,iso-8859-7 and windows-1253 but …

Member Avatar for iqbalhosan
0
110
Member Avatar for runningeagle

Hello, I was in the middle of a session when suddenly all my programs give the error "The image file FILENAME.EXE is valid, but is for a different type of machine than the current machine." The only way I can get around the error is to go to the shortcut …

0
55
Member Avatar for Kavitha Butchi

Hello All, Is there a way how we can pass a PHP variable whose value has been retrieved from MySQL database to the next page? Initially I tried this which didnt help me anyway. [code=PHP] // if user login information is CORRECT then redirecting them to the user home page …

Member Avatar for Kavitha Butchi
0
255
Member Avatar for pete08

I'm developing handheld application written in VB.NET, with .sdf database. I have following problem: on one form I have combo box (which relates to the primary key) and several text boxes (other fields in the table). When I enter data in the database I can retrieve data from the database …

0
62
Member Avatar for samarinder

HTTP Status 405 - HTTP method GET is not supported by this URL I m getting this error when i m clicking on logout button here is the code for it............. import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; public class LogoutServlet extends HttpServlet{ public void …

0
88
Member Avatar for DATABASE

i am working on Shopping cart in the AddToCart function at this line >>> cost1 = Decimal.Parse(ddlProducts.SelectedItem.Value) there is an error this is the error message [COLOR="Red"]Input string was not in a correct format.[/COLOR] [CODE]Sub AddToCart(s As Object, e As EventArgs) objDT = Session("Cart") Dim Product = ddlProducts.SelectedItem.Text Dim blnMatch …

Member Avatar for sebastian3
0
94
Member Avatar for ejazcyberia

Hi, The below script works fine for me but with normal login, Actually i need to go with "enable 5" and with password "xxxx" to get the user details. So please any one help is here highly appreciated. Here is my prompt for enable, Pleaes have look on it, ERX02>enable …

Member Avatar for ejazcyberia
0
160
Member Avatar for maydhyam

How do I set the session on a page, so that if I were to type the direct link for the page into the address bar, it doesn't display, instead the user would be redirected to the homepage or login page?

Member Avatar for maydhyam
0
346
Member Avatar for afflictedd2

Hi everyone, I'm having a hard time trying to create an object only once in a JSP file that I know works already, except that it always creates the object again with each page reload or submit request. I've tried session, not sure how it works.. but haven't figured it …

Member Avatar for jwenting
0
91
Member Avatar for thowle

Okay, so our website is pretty much all session based and all of a sudden it is acting very laggy. People complain of not being able to stay logged in very long at all (like it is resetting the session at random intervals). Also, I have simple code that does …

Member Avatar for thowle
0
114
Member Avatar for Vai

I have several issues going on I have played with the code, and I have tried to follow other code snippets / tutorials as examples, but I am unable to achieve the following: 1: when the browser is closed the session is terminated or set a timeout period of inactivity? …

Member Avatar for Vai
0
122
Member Avatar for ceyesuma

I recently deployed a program [icode]http://www.netbeans.org/kb/61/web/hibernate-vwp.html#01[/icode] in a pakage containing *.hbm.xml's and backing beans a HibernateUTIL.java class was created. in the IDE the table describes proper primatives that populate colm and rows. yet (deployed) a table displays column headers in browser with no data. an exception states HibernateUTIL [icode]System Messages …

Member Avatar for jwenting
0
195
Member Avatar for princeanthony

Hi everyone, Can anyone tell me how you can stop users from URL Hacking your website with php (sessions)? So for example if you have a password and username form on the front of your website and only want authorised members to gain access to your web site. So for …

Member Avatar for rgviza
0
117
Member Avatar for gpdrums

Hi All, Using php and MySQL, I completed a login session script and it works great. I am assigning the username and password to select users, and there will be no registration form. My "users" table in MySQL has 5 columns as follows: [LIST] [*]id [*]username [*]password [*]company [*]last_login [/LIST] …

Member Avatar for gpdrums
0
230
Member Avatar for greeny_1984

Hi, I have a page containing categories and subcategories. Iam using datalist to display categories. I want ot get subcategories based on categories selected. On clicking on again subcategories i need to display subsubcategories. ex: Agriculture | V plantproducts | V beans | V green beans | V product page. …

0
89
Member Avatar for WhYuLoOkIn

I am trying to run a script when a button is pressed on my Login.aspx page in Visual Studio 2008. I have set the Sub routine which is located within the script to redirect me to a certain page when the script is run for testing purposes. When I press …

Member Avatar for WhYuLoOkIn
0
163
Member Avatar for Nessie83

Hiys Guys, I have a website that uses Simple Machines software and have run into a few problems. The website has now finished being developed and we were looking to go live (propagate) i think thats the right name. As we were tryign to do that someone has changed our …

Member Avatar for ronniestamps
0
141
Member Avatar for gingerrua

Hi everyone! This week I followed all the advice in the PC cleaning techniques... thread above, trying to sort out a little problem I asked about over in the Windows Tips n Tweaks forum. Now, every time I start up, Spybot asks me the following question, can anyone tell me …

Member Avatar for gingerrua
0
116
Member Avatar for ABDUL HAYEE

Hello! I have just developed, as an assignment , a small conventional website, commonly used for “Log in “purposes. User enters the UserID and password. User ID is compares from the customer Table, to verify, if the name already exists in database. If yes, he is directed to main page. …

Member Avatar for sierrainfo
0
72
Member Avatar for tefflox

hello, i'm trying to get [URL="http://superiorminitrucks.com/admin"]http://superiorminitrucks.com/admin[/URL] login functionality to work. It's my first logon script, which was tested to work, but I'm running out of brute force to get this one through... [CODE]<?php //////**************************************/ // // LOGIN PAGE // // Server-side: // 1. Start a session // 2. Clear the …

Member Avatar for Narue
-1
322
Member Avatar for sachinvador

What protocol is used by SSL to change a session key in middle ogf ongoing session if you feel that your key is compromised???

0
28
Member Avatar for farag

I write an application by C++ language and I used CGI to make the Interaction by a web page so I found problem that every once I use The web page that I created by C++, C++ application program run from it's First point so I want a solution for …

0
148
Member Avatar for kevin wood

i have a problem about sending variables through to other pages. I have done this before using forms to post the variables. I have tried to use the SESSION_START () function but that does not like the code i have used for the image resize on the page. i have …

Member Avatar for kevin wood
0
101
Member Avatar for ellabean

Hi everyone. I'm thiiis close to losing my wits over this. I'm working on carrying Session ID via the url (not secure, I know, but it's not meant to be) and I cannot for the life of me get this to work. This is a hangman script (pre-written by someone …

Member Avatar for digital-ether
0
119
Member Avatar for Member #323671

I cleaned hundreds of nasties on this thing so far. (co workers son's laptop) I noticed that ctfmona.exe was running, so did a search and ran across this site. I did the combofix after running a scan with avg. So hopefully I am following procedure and am posting the contents …

Member Avatar for crunchie
0
298
Member Avatar for majestic0110

Hi all hope you are well. I am interested in a quick method (besides cut 'n' paste) of extracting my command history from a putty session (Linux version Red Hat Enterprise Linux ES release 3 (Taroon Update 9)) to a windows text file. Any ideas on that? Thanks for your …

Member Avatar for majestic0110
0
221
Member Avatar for priyav

hai everybody, i have a problem in jsp that i should access my application only by login. in my project when i give this url in my address bar "http://localhost:8080/jsp-examples/InvMgmt/test/stockrequisition.jsp". it directly goes to the stockrequisition page. i dont know how to use the session variable. here i am sending …

Member Avatar for peter_budo
0
134
Member Avatar for shytr

hi......... i am having 13 jsp pages.in the first page i have to select any one radio button and then i have to go to the next page,there also i have to click any one radio and then i have to go to the next page,likewise i have to go …

Member Avatar for masijade
0
126
Member Avatar for almualim

i want to send variable from one page to other in php and iam using session, but the variable doesn't appear in other page. iam using this code : page 1: <?php session_register('number'); $number =10; header("Location: page2.php"); ?> page 2: <?php echo"number= ".$number; ?>

Member Avatar for almualim
0
93
Member Avatar for mortalex

Hey guys, i've got a right headache from this piece of code at the moment, it's a simle login script and it just sin't working, the MySQL query looks correct to me and all the other stuff looks ok, but then again i'm no PHP expert. Could someone look at …

Member Avatar for blocblue
0
157
Member Avatar for uncoversports

Hey all, I'm looking at building a website that allows photographers to login and upload images to galleries, while another type of user can signup and buy images from those photographers. The problem is I've come up against my age-old rival. I haven't been able to get my head around …

Member Avatar for Will Gresham
0
155
Member Avatar for mrcniceguy

in my website,after someone login,his profile appears. The prolem comes when you shift to another web page and if you want to return to you profile this message appeares (Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no …

Member Avatar for mrcniceguy
0
99

The End.