4,124 Topics

Member Avatar for
Member Avatar for nccsbim071

[B]It's long but simple. I have only explained the problem in detail.[/B] After searching a lot i did not get any answers and finally i had to get back to you. Below i am explaining my problem in detail. It's too long, so please don't quit reading. I have explained …

Member Avatar for kvprajapati
1
1K
Member Avatar for pradeep2002gs

Dear all, i'm facing a prob for past few days that my servlets classes are not referenced properly in glass fish server . i downloaded a project from sourceforge.net named Javalibrary [url]http://sourceforge.net/projects/javalibrary/[/url] i imported all the files and all files working properly in netbeans i mean i can run the …

Member Avatar for jwenting
0
113
Member Avatar for cane23

i have a piece of code that finds the sum of the credits of the courses that were chosen in the multiple drop down list. my code works fine when there is a value that was selected and i can easily assign the variable to the session variable. however i …

Member Avatar for liamfriel
0
84
Member Avatar for g-fer

Hi ... I am a total php newbie. As clients move about my site they may cause entries in a temporary sql table that includes a field for their session id. If they leave the site by logging out properly, the rows in the table associated with their session are …

Member Avatar for g-fer
0
86
Member Avatar for jbason

Hi all, I have been trying to find this out for 4 days straight, doing all types of research and yet I cannot find it, although it seems like one of the most fundamental things I can think of. I am new to jsps and servlets but not new to …

0
49
Member Avatar for Tekkno

Hello DaniWebbers, I've got several href's that take the user to different forms. However, in order to have access to the forms, they have to log in. So when they click the link, they are redirected to a login page if they have not already logged in, otherwise they are …

Member Avatar for Tekkno
0
216
Member Avatar for JuliaNell

I have two files which has two types of profiles (user and Admin), Now the problem is how do i create a session which if im a user takes me to the user page and when im admin takes me to admin page!!!

Member Avatar for sureronald
0
76
Member Avatar for P_funk22

Here's what I'm trying to do: Write a working C++ program that implements the following requirements: - Develop a CALCULATOR in C++ - Implement at least six distinct arithmetic functions - Allow for at least two functions to be combined - Validate user input: do not allow invalid input - …

Member Avatar for jonsca
0
144
Member Avatar for tryphy

I have four forms one --> two ---> threee -----> four I used session here... when i go from one --- > the code works good then when i go from two ----> three also works good.. but in the third page, when i click back <----- and then from …

Member Avatar for cwarn23
0
135
Member Avatar for Manolo310

Hi, i need to search all cells inside a dataviewgrid in VB.net starting with "www" , once i found one cell apply a background color to the complete row and get the next cell with the same String. Part of my code: *********************** [code] Protected Sub Page_Load(ByVal sender As Object, …

Member Avatar for kvprajapati
0
118
Member Avatar for pixeldiver

Hi, My problem is possibly easy to fix, I just can't see what's wrong. The following code outputs rows with product images, description AND a [B]textarea[/B] to write some comments to each of the rows. [CODE]$output[] = '<td align="center" width="100"><textarea name="comments" cols="35" rows="5">'.$_SESSION['comments'].'</textarea></td>';[/CODE] And this is wrapped in a form …

Member Avatar for pixeldiver
0
68
Member Avatar for OS_dev

I see this question come through here quite frequently and I just happened to finish another login script so I figured I would post it and you can take what you want from it. If you have any questions, feel free to ask. [CODE=php] <?php session_start(); //include pdo mysql db …

Member Avatar for OS_dev
0
126
Member Avatar for tryphy

How to remember a radio button selection in the multi form ..? [CODE] <input type="radio" name="yesrno" id="radio" value="yes"<?php if($_SESSION['rad_radio']) echo 'checked="checked"'; ?> /> <input type="radio" name="yesrno" id="radio" value="no" <?php if($_SESSION['rad_radio']) echo 'checked="checked"'; ?> /> [/CODE] It keeps on appear the selection "NO". Any Help ? Thanks

Member Avatar for tryphy
0
175
Member Avatar for cane23

can anyone offer some help on this matter i have 5 session arrays and i want to merge all of them. however these session arrays are take from several multiple select list. while the code that i have done so far works fine, it has one small problem. in the …

Member Avatar for as.bhanuprakash
0
87
Member Avatar for shyami

Hi, I am working with pylon framework, just i want to redirect a user to my another php script, if session expired. The below one is redirecting to another controller. i need to redirect to another php script. redirect_to(controller='test', action='index', _code=303) Any idea? Thanks -Shyami

Member Avatar for shyami
0
124
Member Avatar for help_lucky

Hello Everyone, I am banging my head since morning. please help me.. I am not so good at php..i am in learning phase... My requirement was to generate a popup once you immediately login. windows.alert('please call') then the popup should come for every 2 hrs. Even though you navigate to …

Member Avatar for Fbody
0
478
Member Avatar for WickidGRAFX

I created a user login/registration system and the login works fine. But I can not seem to get the registration to insert the info into the database. It returns no errors and says the record is there but when you check from phpMyAdmin, the record is not there. Here is …

Member Avatar for drjohn
0
162
Member Avatar for celyst

I am having an issue with creating some JSP pages. I have a few pages (Home, About Us, Contact Us) done up in JSP, and I also have the ability to login to this site using a username and password. What I want to achieve is to allow visitors to …

Member Avatar for celyst
0
539
Member Avatar for pbcomput

hi.. i was working with php 4.2.3 and now i changed php to 5.3.1 now problem is that when i login as a user in my script i got this warning.. [CODE]Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that …

Member Avatar for network18
0
96
Member Avatar for TotoTitus

I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren't stored. How should i do this? There's also a …

Member Avatar for TotoTitus
0
3K
Member Avatar for mjwoodford

Hi, I have a jsp, the relevant piece as follows: [code]<%@ page language="java" contentType="text/html;charset=utf-8"%> <%@ page session="false" %> <%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %> <portletAPI:init /><% String welcomeImage=portletResponse.encodeURL("/images/welcome_image.jpg"); %> <div id="welcome_img_div" style="margin-left:5px;width:715px;height:190px;background-image:url('<%=welcomeImage%>');background-repeat:no-repeat;">[/code] I want to rotate around a series of images as the 'background-image' ..but it is not clear to me …

Member Avatar for ejosiah
0
104
Member Avatar for Island_Boy_77

Hi all I've just had a mammoth "session" getting Windows XP to install onto an HP DV5-1209ax. And it worked! Yeeha! So the reason for this post is to let you know that it is doable, even though MS and HP have made it very hard to do so. If …

Member Avatar for Island_Boy_77
0
168
Member Avatar for sharao

which one is better to get data from session r from database when we consider performance as well as security issues, and one more case too if the site is access by more ppl at a time also.... thanx..

Member Avatar for jwenting
0
49
Member Avatar for smilingeyes76

Good morning, I've searched the web for a week to find a solution to a problem, but I can't figure it out, so now I'll try to post directly what the problem is and hope that someone could explain me how to go ahead. I'm new to Asp.Net, and some …

Member Avatar for smilingeyes76
0
145
Member Avatar for sassenach

Hi, I have a website where you need to login. The login works fine, it saves the session variables as I need. After browsing the site, maybe one minute, the session times out before it should. I am not sure if this is related, but I moved my site a …

Member Avatar for sassenach
0
67
Member Avatar for Barefootsanders

Hey everyone. I just got my server up and running and I programed my database, or so I thought. I tried uploading it and running it but my index.php gives me "syntax error, unexpected $end in [B]index.php[/B] on line [B]127". [/B]My code is below. Can anyone help?? Thanks! [code]<? /** …

Member Avatar for Barefootsanders
0
1K
Member Avatar for sassenach

Hi, On my site, the session worked fine until i changed hosting the other day. When i login to the site, it creates sessions. If i open a page in the site, it opens up fine, but after i open another page or refresh the same page, it automatically takes …

0
53
Member Avatar for dhrider

So I am trying to create a page with an booking calendar on it which gets its content from my sql data base. As of right now, I can't get it to display my booking info from the database, or insert the proper date into the form field when creating …

0
69
Member Avatar for ronaldpaul

In my project i wanna use the last_insert_id() to be stored in a session variable and after that i wanna use that session variable i.e., the value of last_insert_id() in another page. How can i carry the last_insert_id() to some other page using session or storing it in a session …

Member Avatar for CFROG
0
161
Member Avatar for anuj_sharma

Hey Guys, Should i use hidden textboxes or session variables to pass values between various jsp pages??

Member Avatar for jwenting
0
88
Member Avatar for sunaruna84

Hi friends I have using this mail function in usermail.php. my problem is some times i didn't receive the mail and displayed mail not sent alert when i submit the enquiry form. please verify it and let me know ur suggestion. please help me this function will be work in …

0
72
Member Avatar for talha06

Hello to all, Despite I added all necessary .jar files to project, I always take boring exception warnings that say "class not found". I added the code and exception output below. I'll be so happy if someone can help me. Thanx in advance.. With regards, T ----------------------------------------------------- [CODE]protected void doGet(HttpServletRequest …

Member Avatar for talha06
0
3K
Member Avatar for arvetus

I have an issue that's been beating me up for a week or so. I have an XP PC that will just drop off the network. What happens is that everything will be fine and then all of a sudden, I cannot browse the internet or use the network at …

Member Avatar for arvetus
0
129
Member Avatar for g-fer

Hi all ... During a session a user causes information to be added to a temporary database table. At the end of the session, the information has to be removed. How can I tell when a session has ended so that I can clear the rows from the table that …

Member Avatar for g-fer
0
129
Member Avatar for nitinG123

please quick reply! i have a problem that when a record is in the database table then it returns the [B]monthlyBalance[/B] float value otherwise return 0.0 float value. I am using stored proc for this.please help [B]C# Code[/B] [code] conn.Open(); SqlCommand cmd = new SqlCommand("monthlyFees", conn); cmd.CommandType = CommandType.StoredProcedure; //cmd.CommandText …

Member Avatar for kvprajapati
0
160
Member Avatar for boycuoi

I want to invisible a imgbutton in repeater when username not admin.So here my code Check username function : [CODE]Protected Sub CheckUS(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Dim Check As String = Session("UserName").ToString Dim Img As ImageButton = New ImageButton Img = DirectCast(e.Item.FindControl("DltImg"), ImageButton) If Check = "admin" …

Member Avatar for boycuoi
0
204
Member Avatar for gunnarflax

Hi, I am trying to create a website where the visitor can choose one of two languages when first arriving at the website. Then I want that choice to be saved throughout the whole visit without the visitor having to log in. I've always felt that cookies are a lame …

Member Avatar for gunnarflax
0
123
Member Avatar for Morty222

This is how my session reads: [CODE] Array ( [pstloggedin] => blah [userID] => blah [email] => blah [fname] => blah [lname] => blah [phone] => blah [cart] => Array ( [0] => Array ( [team] => 2137 [tournament] => 24577 [gatefee] => yes [cost] => 800 [sdate] => 2010-06-03 …

Member Avatar for CFROG
0
72
Member Avatar for Amy M.

I purchased a series of classes which are in the form of downloads. Typical size 350MB - Videos. Actually I did this for more than one session of classes. The first set of classes downloaded fine. Took 3+ hours each, but they opened appropriately in Quickbooks and/or iTunes. The second …

Member Avatar for Amy M.
0
133
Member Avatar for benk1

I'm relatively new to session variables, and have been trying to use them in the following way: [CODE]session_start(); $daddr1=$_SESSION["daddr1"]; $daddr2=$_SESSION["daddr2"]; $daddr3=$_SESSION["daddr3"]; $daddr4=$_SESSION["daddr4"]; $daddr5=$_SESSION["daddr5"]; $iaddr1=$_SESSION["iaddr1"]; $iaddr2=$_SESSION["iaddr2"]; $iaddr3=$_SESSION["iaddr3"]; $iaddr4=$_SESSION["iaddr4"]; $iaddr5=$_SESSION["iaddr5"]; $notes=$_SESSION["notes"]; $purch=$_SESSION["purch"]; echo "<form name='form1' action='view_order.php' method='get'>"; echo "<table border='0' width='100%'>"; echo "<tr align='center'>"; echo "<td width='16%'> </td>"; echo "<td width='16%'>Your purchase …

Member Avatar for benk1
0
85
Member Avatar for SuntechWebsites

I am looking for a way to display all images from a folder using php. And if possible select the folder that matches the user with a session. [B]My example:[/B] I have a session that starts when a user loggs in called "MM_Username" Each user has a directory that is …

Member Avatar for whiteyoh
0
85
Member Avatar for mairtinomarta

Does anyone know why these event codes run twice? E.g. I am using a cookie to keep track of [Ctrl] + [Shift] + [F] by incrementing a variable once everytime it is used. However the code for it runs twice and thus the variable is never odd as it always …

Member Avatar for mairtinomarta
0
769
Member Avatar for haggis-man

I was hoping that there would be a readonly system or session variable such as @@username or @@user_id or similar Is there any way I can access username information inside an SQL database please? I am hoping to use it to render certain ROWS visible/invisible in views This would be …

Member Avatar for haggis-man
0
84
Member Avatar for tryphy

I have a multi form... I searched online and found this link... [url]http://www.html-form-guide.com/php-form/php-order-form.html[/url] so i was doing a test, but it didnt work for me.. Can some1 help me, where i have gone wrong. Here are my codes.... [COLOR="red"][U]Form1.php[/U][/COLOR] [CODE] <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" …

Member Avatar for FlashCreations
0
240
Member Avatar for karamjeet2004

i want to send value to another jsp page from sessions i add the attribute session=true in both jsp pages but i am getting error during running mode can u find any errors in code [B]try123.jsp[/B] [CODE]<% String val=(String)session.getAttribute("itemValue").toString(); %> <TD>IMAGE NAME</TD> <TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD> </TR> <tr>[/CODE] [B]try.jsp[/B] [CODE]String …

Member Avatar for javaAddict
0
145
Member Avatar for newsguy

Botnets are bad for business, and that's the bottom line. The news that a botnet called Kneber has infected 75,000 computers including government and business machines has been spreading online. But while many, if not most, of these reports are claiming that Kneber is a new botnet the truth is …

0
938
Member Avatar for xuexue

i have a webpage wherein it has two frames in it. now, i want to transfer the data coming from FRAME A to FRAME B. now, i thought of using a session, but it does not work, what i want is that when i click the button in FRAME A, …

Member Avatar for Wraithmanilian
0
96
Member Avatar for mundetas

Hi guys I was hoping you could help:'(, I have created a web page where by the number of records is about 40. But put on paging on my page with the use of Dream weaver. The problem I have is that yes it does display 5 At a time …

Member Avatar for mundetas
0
71
Member Avatar for abdulraqeeb33

Could some one please tell me if my analysis about the FTP pasv and port modes is right. Let there be a dynamic firewall that protects the network 136.142.117.0/24. It blocks most incoming TCP connections but allows incoming FTP requests to port number 21 and destination IP address 136.142.117.11. Identify …

Member Avatar for sheltant
0
219
Member Avatar for RhythmMK

Hi all, Currently working on Visual Studio trying to create a login system for my website. Tried following various tutorials but can't seem to get them to work. Are the pre-defined login tools on Visual Studio good enough? I've got part way there using them but can't piece it all …

Member Avatar for kvprajapati
0
135

The End.