4,124 Topics

Member Avatar for
Member Avatar for virang_21

Hi I am using ASP.NET to upload files that is to be stored in MSSQL Server 2008 as varbinary(MAX). I have issues with opening scanned pdf files once users upload them. The issue is happening very randomly (say 20% of the files cannot be opened .). It seems something is …

0
73
Member Avatar for ephemeral

I'm having two Ajax-related problems on a page I am working on at the moment. [URL="http://www.utm.edu/departments/acadpro/library/openmic/add2db.php"]http://www.utm.edu/departments/acadpro/library/openmic/add2db.php[/URL] On this page, I have two buttons that use Ajax to fetch two separate forms and put them into a chosen div; that part works like a charm. On said forms, there is a …

Member Avatar for Airshow
0
154
Member Avatar for mldardy

I can't get past this error in my loop through the data reader specifically dr(12). I tried adding .To String but that doesn't seem to work either. Can someone help me with what need to do so it can read even if there is a Null value. My code is …

Member Avatar for mldardy
0
387
Member Avatar for onsir

how to change database at runtime, i use hibernate and spring. i have make like this hibernate.cfg.xml [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <mapping class="com.model.Person" /> <mapping class="com.model.Group" /> </session-factory> </hibernate-configuration> [/code] spring.ctx.xml [code] <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" …

Member Avatar for keerthi166
0
1K
Member Avatar for ceyesuma

Hello; I am trying to build a JDesktopApp The structure of a Session in a web app: a user logs in and a session specific to the user is saved.(basically). My question is dealing with a Desktop app. If a user logs in can the same concept be used? I …

Member Avatar for ceyesuma
0
125
Member Avatar for sbr

hi im new to asp.net...im using gridview hyperlink...my prob is to view the hyperlink value in the next page label box while clicking the hyperlink in gridview...

0
52
Member Avatar for Pankaj18

Hi, I am using following code to Highlighting keywords in a text or resume. My code: // al is an Arraylist which have keywrods as .net, java, xml... [code] al = (ArrayList)Session["keyWords"]; for (int i = 0; i < al.Count; i++) { if (s.Contains(al[i].ToString().ToLower()) || s.Contains(al[i].ToString().ToUpper()) || s.Contains(al[i].ToString())) { //s …

Member Avatar for Pankaj18
0
111
Member Avatar for CoolAtt

hi all, i want to use curl to automatically login on behalf of a user & get the SessionID for that user. i will configure php to store the sessionID in the url instead in a cookie on the user's browser. once curl has login on behalf of the user, …

Member Avatar for cwarn23
0
105
Member Avatar for jeffdude87

4215/5431 Lab: Investigating the effect of wireless links on TCP In this assignment we will investigate the effect of wireless losses on TCP. For this purpose we will simulate a very simple network with 3 links. Let the links be AB, CB and DB. Of these DB is a wireless …

Member Avatar for Salem
0
102
Member Avatar for lll_ari_lll

Hi, i am facing problem in log out section, which redirects to the file logout.php. where after unset-ing and destroying the session, it redirects to index page again, but when i type the following page address which should be seen only when an user is logged in, shows.. can anybody …

Member Avatar for lll_ari_lll
0
127
Member Avatar for amalashibu

Good mn , I had one dropdownlist & 'add new item'button in firstpage. like that i had a textbox in the second page.. when i click the add button i want to go to the second page..here i type a text in that textbox. now i want to transfer the …

Member Avatar for kvprajapati
0
94
Member Avatar for judge6

Hi all. I have a web application which upon page load, creates a number of buttons on the page. For each button which is created, i add a handler for the click event. Inside the click event code for the button, i identify the ID of the sender. I then …

Member Avatar for judge6
0
136
Member Avatar for rumpleteaser33

Hi, I'm writing my first application in VB and need some help with my Access database. I have 2 problems; the first one is the most important, the second I would just be very grateful for any help/advice. Firstly, I need help updating a record from my database. I have …

Member Avatar for kevinnrobert
0
158
Member Avatar for frida.kiriakos

Hello everyone, i am having these problems for almost 3 days, i am trying to add a keyboard layout using gconftool-2, when i execute the commands i dont have any problem, the commands are: #gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s /desktop/gnome/peripherals/keyboard/kbd/layouts -t list --list-type string '[us,ara]' #gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s /desktop/gnome/peripherals/keyboard/kbd/options -t …

0
123
Member Avatar for Danarchy

I bought Disk Warrior and used it 4 times successfully. Then it started telling me, before replacing the directories, that to insure a failsafe replacement, that I needed to delete 98mb of 'contiguous' space for it to do so. Neither Alsoft nor Apple can tell me how to accomplish this. …

Member Avatar for Danarchy
0
521
Member Avatar for Pooja J.

Hi, I have one page session-bom.php, in which computer parts are availlable for shopping. e.g. mouse , keyboard ect. with the checkbox. and textboxes to enter quantity and label of prices. When user hits 'submit' button, only selected parts goes to the bill.php page and showing their price multiplied by …

Member Avatar for as.bhanuprakash
0
252
Member Avatar for psathish2

this my code : plz solve this problem immediately [code] <?php session_start();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>GYM jobs</title> <link href="style/style3.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="ui.dropdownchecklist.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery-1.3.js"></script> <script type="text/javascript"> $(document).ready(function() { …

Member Avatar for cwarn23
-1
171
Member Avatar for Pooja J.

Hi to all, I have 4 pages. page1.php, page2.php, page3.php and last.php. page 1, 2 and 3 pages have one text and submit button. The values enter by user in page1.php store in session var. and clicking on 'Submit' button. page2 shuold be open. In this page same procedure should …

Member Avatar for liamfriel
0
149
Member Avatar for polly89

I have a form named:"RegistrationForm.php". when i click the "submit button", there's a data inserted in the database (the prove is, there a new row in the database), but there's no value from user textfield(ic_no,name,email...) that have been inserted. It means like there's a row of data inserted but without …

Member Avatar for diafol
0
131
Member Avatar for rekhad

I would like to thank the moderator for helping me with the code while reading row by row data using datatable and sqldata adapter. I am worried about the speed and performance of my code since I am making round trips to the server,every time I am increment the index …

Member Avatar for kvprajapati
0
114
Member Avatar for sniigg

[code] foreach (string id in str1) { string logoImage = ""; string BundleID = id; BundleSearchResultStruct BundleSearchResult = nbsi.GetProductDetails(guid, "marketingPartnerPassword", Convert.ToInt32(BundleID)); string y = builder1.Append(BundleSearchResult).Append(",").ToString(); y = y.TrimEnd(','); Session["BundleSearchResult"] = y; //some code relevent only to this block } while (reader1.Read()) { //do something foreach (string id in str1) { …

Member Avatar for sniigg
0
95
Member Avatar for Stefano Mtangoo

Hi guys, I need help with and Idea on how to do this. Basically I want to have sockets session. User logs in and the program authenticates him against DB. Having done some PHP this is not big problem. The problem is how do I maintain session. In PHP there …

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for tryphy

Hi guys, Could anyone help me out with this... I have a multi form, which the user enter in the data and submits the data.. It also have a save button in it.. so user can save and then come back,.. then can save again, or submit.. I saved the …

Member Avatar for saiprem
0
204
Member Avatar for psathish2

warning error came.. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\employees.php:1) in D:\hshome\blackray\demo.blackraycreatives.com\gym\testing\final\captcha.class.php on line 21 i have catcha.class.php include captcha.class.php …

0
73
Member Avatar for Siberia

I'm having a problem with editing values of a gridview and them being updated back to the gridview. At the moment the code gets the old value of the textbox and I'm assuming I've made an error in trying to obtain the new value. I've highlighted what I think to …

Member Avatar for jbennet
1
106
Member Avatar for gptArun

Hey All, How to get current user login values ? There is any Session variable or somethings like that ?

Member Avatar for Ramesh S
0
94
Member Avatar for Viruthagiri

Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" …

Member Avatar for jwenting
0
304
Member Avatar for D4n1sD

How can I make in php remember me box? I mean is it all about how long the session of the cookies will last or I have to do something else?

Member Avatar for Tekkno
0
84
Member Avatar for Hakoo

Hello Everyone, Currently I m working on "Bug Tracking System" project using JSPs and MySQL. Actually this one is Intranet Base project. I want to add e-mail facility for each user. How can I do? Which Data Type is suitable for "File Attachment"?? And also I want help for Session. …

Member Avatar for stephen84s
0
96
Member Avatar for CoolAtt

Hi All, I have [B]roundcube webmail,phpBB forum & wiki[/B] hosted on one machine using [B]apache virtual hosts[/B]. The problem is i have to log into each of the services(mail.domain.mu , forum.domain.mu ,wiki.domain.mu) to get access. All of the 3 sites uses LDAP for authentication and hence a user provides same …

0
119
Member Avatar for avilporwal

Hello, I am stucked while making code in PHP. I actually want to make a table in database with name as username (of the respective user). (table should be formed only when no such table exisit before) I used session to get username and every thing is right except formation …

Member Avatar for diafol
0
91
Member Avatar for vectro

This is related to remote desktop over VNC. I'm not sure if this should be posted in the Desktop or Server section. I'm sure a mod will move this if necessary. In short, the problem is that CentOS 5 won't recognize PNG files. There are a few errors about it …

0
91
Member Avatar for woodsrr

An application I developed has its session variables reset within 5 minutes. My session variables were timing out when I was connected to a asp state server so I switch session state mode to SQL with the hope that it would fix my problem. Now I'm getting a different error. …

0
55
Member Avatar for dat_geezer

Hi i was wondering if it was possible, in java, to save a session/state of an application and then reloading the data (all automatically)when re-opening?? I have a GUI with some textarea, a jtree with filesystem hierarchy and a jpanel with buttons. I can create many buttons and within these …

Member Avatar for dat_geezer
0
105
Member Avatar for woodsrr

I’m stumped! I have an application I developed which has its session variables reset at odd times with no perceivable reason. I have a dedicated server; I have the .net session state service running. I have the following code in my web.config file [code=VB] <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="45"/> [/code] …

Member Avatar for woodsrr
0
90
Member Avatar for s_kanika

I've a basic chat script. In that I displayed messages directly from Mysql. When I click on send button then form submits and I get my posted message on screen. But if anyone else post message then it won't displayed in my screen unless I resubmit the form. If I …

0
73
Member Avatar for niths

[CODE]<?php session_start(); $_SESSION["username"] = $username; $_SESSION["password"] = $password; session_unset(); session_destroy(); @header("location:login.php"); ?>[/CODE]

Member Avatar for cwarn23
0
68
Member Avatar for GradStudent

Hi, I have a Entity Bean and A session bean facade. My Client side look up works fine and I am able to retrieve the .count() method results. But when things involve serialization, like .create() or delete() or edit(), java.lang.reflect.UndeclaredThrowableException comes up.. Any pointers will be appreciated [CODE] package eb1; …

Member Avatar for jwenting
0
169
Member Avatar for casmir.dominic

Is it possible to add a user in a specific domain through coding in asp.net.My code behind is vb.Please give me syntax. As of now, i ll give u a reference coding Sub AddUser(ByVal folderPath, ByVal userName) 'creating a account in the active directory so that the particular account can …

0
58
Member Avatar for Tekkno

I have a script that generates random data into an array then uses a while loop to display the data. I have a separate script that takes a row from that array and inserts it into a MySQL database. The problem I am having, is that every time the page …

Member Avatar for Tekkno
0
118
Member Avatar for lll_ari_lll

hello friends, i am a newbie in php.. doing project for my college. doing it with a lot of help with this site n some others but stuck in the login page, it seems either there is some problem in databse connection or session registration.. when i put username n …

Member Avatar for lll_ari_lll
0
121
Member Avatar for shiv0013

i want to send mail through from my website. i used the below code [CODE]String host="smtp.gmail.com", user="username", pass="password"; //host = smtp_server; //"smtp.gmail.com"; user = jsp_email; //"YourEmailId@gmail.com" // email id to send the emails //pass = jsp_email_pw; //Your gmail password String SSL_FACTORY ="javax.net.ssl.SSLSocketFactory"; String to = email;// out going email id …

Member Avatar for jwenting
0
147
Member Avatar for whiteyoh

Hi All, I thought I was getting along well with PHP, but i have been given a project at work to interact with a 3rd party client using SOAP and im lost. Can anybody help me get started with this? They are going to send me a url with a …

Member Avatar for whiteyoh
0
118
Member Avatar for Jeyush

I write javascript for image slide show. [CODE] var mygallery=new fadeSlideShow({ wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow dimensions: [380, 469], //width/height of gallery in pixels. Should reflect dimensions of largest image imagearray: [ <?php $q2 = mysql_query("select * from home_flash"); $i = 0; while($res = …

Member Avatar for Airshow
0
97
Member Avatar for JRM

I have a situtation where I need to use the variables created during a session on another page. currently, I am doing the queries twice, which seems like such a waste! Is is possible to retrieve them via the session store? This is my first foray into the bowels of …

Member Avatar for hashinclude
0
116
Member Avatar for neha.khetan09

[QUOTE=nikesh.yadav;663969]hey, i think if u r using php session then it is clear automatically when browser closed. means when it user opens the browser it goes to login page.but u can add this code to every page except login page. [code] <?php if(!isset($_SESSION['sessionvalue'])){ ?> <script> window.location('loginpage.php'); </script <?php } ?> …

Member Avatar for cwarn23
0
72
Member Avatar for MDanz

i have a top frame named link_frame. the bottom frame is named menu.php how would i get the url of the top frame? i need this in php not javascript. [code] $url = $_SESSION['url']= $url;[/code]

Member Avatar for manishmannan
0
71
Member Avatar for ageryckeh

please help out in figuring the code that opens a session for registered users after reading the input choices provided by the user and redirecting to a mysql query page that displays a list of data in check button options....my project intents to allow a user to select from a …

Member Avatar for manishmannan
0
76
Member Avatar for glenntamis

I need to design a site which has an iframe that links to pages on another site. the site would work as usuall in the iframe. the site when running directly works fine passing out all the session variables, but when working in the iframe the session variable loses out …

Member Avatar for whiteyoh
0
47
Member Avatar for abdulraqeeb33

Hi, I have few weblogs, example below 65.96.112.177 - - [27/Jan/2007:00:02:10 -0500] "GET /~jking/images/ralph.jpg HTTP/1.1" 200 66196 65.214.44.44 - - [27/Jan/2007:00:02:27 -0500] "GET /~jkabara/Research.htm HTTP/1.0" 200 4696 207.46.98.52 - - [27/Jan/2007:00:02:29 -0500] "GET /~mweiss/new/background.htm HTTP/1.0" 200 3905 207.46.98.52 - - [27/Jan/2007:00:02:35 -0500] "GET /%7Epaws/project_pacer.htm HTTP/1.0" 200 15645 207.46.98.52 - - …

Member Avatar for abdulraqeeb33
0
89

The End.