3,454 Topics
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 …
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 …
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 …
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 …
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 …
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 …
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. …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 */ …
can anybody will give me sample code example of session in asp.net
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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?
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 …
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 …
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? …
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 …
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 …
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] …
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. …
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 …
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 …
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 …
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. …
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 …
What protocol is used by SSL to change a session key in middle ogf ongoing session if you feel that your key is compromised???
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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; ?>
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 …
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 …
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 …
The End.