4,124 Topics

Member Avatar for
Member Avatar for rahul8284

hi all, i made a web application through netbeans and in its web.xml file i set the session timeout as according to my requirement(let's say 1 min.)and then i made a class implementing sessionlistener and in its session destroyed method i removed the atribute(say empno) from session. The whole application …

Member Avatar for parry_kulk
0
79
Member Avatar for 6pandn21

Hello Guys! I get this error when I try to run one of my php page but I do not get this error in other page which are basically same. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\go\birthday.php:1) in C:\xampp\htdocs\go\auth.php on line …

Member Avatar for llsatellite
0
189
Member Avatar for 68thorby68

So near and yet so far. I introduced myself to session control and made a decision to only use session files (not cookies) I am submitting: session_start( ); $_SESSION['uid'] = $iduse; The session file is created and correctly reads the following where the value of $iduse is 1H: barney|s:2:"1H"; In …

Member Avatar for 68thorby68
0
137
Member Avatar for Spirate

I already have the application run on my first server... and now i want try to run this application on the backup server. I have installed the tomcat 6.0.14, sql server 2005 and jre1.5.0_12. when i try to run this application this error was come... Can somebody tell me what …

Member Avatar for masijade
0
164
Member Avatar for anup.maverick

Hello, I am storing an Image name as a value in session variable on Page 1. Now on Page 2, I want to use this session variable value in the <table background="Session Variable Value"> How to achieve this. Thanx for help "You will not be punished for your anger, you …

Member Avatar for Sals
0
90
Member Avatar for anu.reka85
Member Avatar for fembiz

Hi guys, I don't know if anyone out there can help me with this. I will start of by explaining exactly what I am doing. I am currently developing a web based online examination system in ASP.net. Now I have set it up and it works perfectly except for one …

Member Avatar for reach_yousuf
0
104
Member Avatar for anup.maverick

Hi, I want to pass a value from one page to another(say from page1 to page2) & the same value again to another page(say page3). What is the best way to do this in vb.net. Query string, Session Variables or any other method? Thanx “Peace comes from within. Do not …

Member Avatar for reach_yousuf
0
103
Member Avatar for TrentRodriguez

I have been getting random crashes in the middle of just browsing or when I am installing things. I cant figure it out. I got Windows Ultimate 7 from Windows XP. I deleted the Windows.old file because I thought that was it. Ill link my crash dump and my specification …

Member Avatar for Siberian
0
283
Member Avatar for whiteyoh

Hi all, Firstly not sure if this is a php or jps question or both I have a system, which uses session for security, with a timed cookie for time validation. In the menu of the system there will be an option, which will redirect to a jsp server. What …

0
65
Member Avatar for indoreankita

My session destroys automatically after every 25 min if the page is idle. how can i prevent it and do session destroy only when browser is closed. Please help

Member Avatar for venkat0904
-1
96
Member Avatar for geraldkf

Hi, I am looking at adding an IIS7 (Windows Server 2008) to an IIS6 webfarm environment. Our webservers handle session state through a common SQL Database that have the ASPState DB. I am getting intermittent viewstate was invalid and viewstate supplied failed integrity check error. I can't be sure if …

0
48
Member Avatar for captain_pugwash

I'm trying to writer a timer to demonstrate how long it takes to load a web page and all its content. I want to repeat the load throughout the day to demonstrate slowdown at times of peak usage. I know there are tools like HTTP Watch and HTTP Analyzer that …

0
55
Member Avatar for rs25

Hello All, While Browsing thru some sites I visited a site [url]http://www.tattooart.pl/[/url] When you visit by links it work fine but when I delibrately omitted some text in url i can see the Directroy structure and can even access them [url]http://www.tattooart.pl/pliki/[/url] Can you People focus as how this can be …

Member Avatar for rs25
0
143
Member Avatar for phpuser

Hello friends, I am doing one project in which i need to find currently online users.how can i ? is there any way ? another thing , if i fetch user login history in DB table and check from there if user currently login or not then there will be …

Member Avatar for MDGM
0
117
Member Avatar for kjelle392

Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either …

Member Avatar for ryan_vietnow
0
360
Member Avatar for Philip435

Hey Ive been trying to make a login script using ajax, the thing is I cant get the php script am calling with ajax to set session variables. Is it even possible? Should I use Cookies becouse I know I can set them with javascript or should I just skip …

Member Avatar for kjelle392
0
65
Member Avatar for rajeshmoyra

Hi, I felt trouble to solve the problem last few days.When I loguot as an user from an account the "Backward option is activated" by which with out giving password another user can enter the last Logout page which I don't desired. I follow Session object in jsp tags for …

Member Avatar for masijade
0
130
Member Avatar for vishalonne

Dear Php Experts I created few php file : [COLOR="Green"]Login Page - loginform.php[/COLOR] this page takes user id and password and fetch department from database then it post them to : [COLOR="green"]Checking File - userchek.php [/COLOR] where session is created if id password and every think goes fine other wise …

Member Avatar for vishalonne
0
7K
Member Avatar for valonesal

Ok so I have this script and I cant figure out how to add multiple star ratings to one page. [CODE]<? require "config.php" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="SMARTREVIEWSCRIPT.COM" /> <title>Add Your Review</title> <link rel="stylesheet" href="style.css" type="text/css" …

0
88
Member Avatar for AbsoluteCPP

[B]Description[/B] I want to have a video conference system. [LIST=1] [*]That is the client-server model. [*]The client can send audio/video/document(like ppt.doc.xls..)/application sharing/chat functions. [*]The client's window can receive 16 videos(from other clients). [*]The client can work on windows platform. [*]The server can work on windows or linux(it's better). [*]The video …

Member Avatar for AbsoluteCPP
0
119
Member Avatar for R3Slick

Ok so I have been working on this all day but cant get it. I want to add an Employee ID to an Employee Table....I got this much...But first I need to check if that ID exists already. How can I do this, here is my code: [CODE]<?php session_start(); require_once …

Member Avatar for venkat0904
0
159
Member Avatar for loveisblind

Hello. I have text fields with data that is not being inserted into my table 'Election'. The Election table has these fields: ID (primary key and auto-increment), title, open_datetime, close_datetime, department, adminID, active (default is 'N') I checked to make sure all the field names are the same. Everything works …

Member Avatar for loveisblind
0
122
Member Avatar for vikas05nitb

hello guys..!! i m having problem with logout code in asp.net with c#. this logout code should end session, disable browser's back button and and if somebody try to login by paste the url of any user account page, he can't. plzzz help thank you in advance..

Member Avatar for Ramesh S
0
109
Member Avatar for zhoufenglei

i have set "session.gc_maxlifetime = 10" in php.ini ,and is reboot apache service.but when i request the example pages after a minites ,the session is active still.the code is : [code] <? session_start(); echo $_SESSION['Login']; ?> <!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; …

Member Avatar for Da_Lawdog
0
114
Member Avatar for naziatarannum

Hi All, I have a question. How to track the how many times a link is clicked (by any user across the web) in a day? If I use onClick() on href, its of no use because it is only for a single session. Please advise.

Member Avatar for naziatarannum
0
82
Member Avatar for vgkarthi

Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so …

Member Avatar for vgkarthi
0
115
Member Avatar for abhishek.tyagi1

hi expert! i am new to jsp. i m using a html form to get user input. i want to collect all the information given by the user, using a javabean class with it's get and set property. and again i wat to display it to the user. i am …

Member Avatar for GHANSHYAM176
0
257
Member Avatar for Cruize_Invades

Hello! I am currently doing some authentication in Active Directory. Our AD is running in Windows 2008 Server and I manage to log-in based in our AD. However I also want to get the group where the user belongs. but I don't know how. Can anyone help me? here is …

Member Avatar for Stitch1920
0
150
Member Avatar for lookof2day

I've been trying to get a list of values from database using hibernate. I'm using MS SQL Server XE 2005 and using Hibernate 3.2.2 to fetch DB rows. I've tried JDBC drivers provided by Microsoft as well as jTDS but all I get is an empty list. Here is my …

Member Avatar for lookof2day
0
827
Member Avatar for lifeworks

Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array …

Member Avatar for lifeworks
0
88
Member Avatar for pymatio

I'm creating a media player with Qt & the phonon module: [CODE] #include "mainwindow.h" #include "ui_mainwindow.h" #include <fstream> #include <string.h> #include <stdlib.h> #include <QtGui> void MainWindow::slotFinished(){ int index = sources.indexOf(mediaObject->currentSource()) + 1; mediaObject->enqueue(sources.at(index)); setLabelNowPlaying(); } std::string ExtractFilename( const std::string& path ) { return path.substr( path.find_last_of( '/' ) +1 ); } …

0
151
Member Avatar for hello.vickey

hello buddies.. i am facing a serious issue with my live site,the site runs smooth for say 1-2hrs or even days,but all of a sudden (not able to reproduce the event on which this is happening)it hangs sometime .And any http request to the site results in IIS hang.the browser …

0
118
Member Avatar for moyphus

While Session Expire, i need to Call One Method... Normally when i click Logout, it will calls one method, the user status also set to logged out, then the session will also expire,.,.,But in this case, suppose the user directly closing the window means, after sometime the session will automatically …

Member Avatar for kvprajapati
0
80
Member Avatar for Jen123

Hi everyone, for starters I am a computer amature! So please be gentle and DO speak to me like a child as I am easly confused by technically phrases. haha :) Upon loading my pc I am getting an Error Loading C:\WINDOWS\jgntesy.dll I have no clue whats thats about and …

Member Avatar for jholland1964
0
178
Member Avatar for kittu_sra

Hi, I would like to encrypt the class object and session state which contains dataset data. Plz help me if those are possible. Thanks and Regards krishna v

Member Avatar for kvprajapati
0
61
Member Avatar for tomf

I keep getting some weird errors in this script: errors: [code] [B]Warning[/B]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]86[/B] [B]Warning[/B]: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]87[/B] [B]Warning[/B]: mysql_query(): supplied argument is not a …

Member Avatar for shundeep
0
240
Member Avatar for Techwriter10

There has certainly been a lot FUD being spread around lately by the likes of [URL="http://www.comcast.com"]Comcast[/URL] about how [URL="http://en.wikipedia.org/wiki/Peer-to-peer"]P2P[/URL] networks are filling up the Internet pipes. Just a couple of weeks ago, fellow Daniweb blogger, Davey Winder wrote (with tongue firmly in cheek), [URL="http://www.daniweb.com/blogs/entry2378.html"]The Internet is Full, please get off[/URL], …

Member Avatar for R1pperZ
0
380
Member Avatar for Clawsy

Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login …

Member Avatar for darius_#2
0
240
Member Avatar for oldSoftDev

hi I am working on HQL queries and writing an application in Java it is just in development phase so I am using a dummy database. But I am having troubles with displaying result using HQL queries. /** * Displays a report listing all companies that have no departments. */ …

Member Avatar for oldSoftDev
0
181
Member Avatar for sleign

ok laugh at me if you will, call my code sloppy or retarded or not very secure (I'm self-taught and think I do pretty good for where I'm at) but I'm pretty proud of myself for having figured this out. I've been trying to validate a form for the past …

Member Avatar for Devoted Hosting
0
215
Member Avatar for shishtawitch

hi, every one....!! i have two sites i.e mydomain.com secondsite.mydomain.com i want to make single login or signup account for both....!! how can it is possible.......!! My problem is that if i pass single session to one site it working but when i open my other site it doesn't works..........!! …

Member Avatar for diafol
0
79
Member Avatar for adil.hafiz652

hi, i am not able to display heirarchical data in my gridview when it is coming from a single table,,,,,,it works fine when i use more than one table....plzzzz its urgent [CODE=C#]using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public …

0
52
Member Avatar for eimmu

i have made 2 pages....1 for login n next to show after successful login.... on login page i have created a button....in its handler i have created session.... on the load event of next page i m checking for the availibity of the session variable n its value.... its workin …

Member Avatar for kvprajapati
0
107
Member Avatar for ariez88

we are creating an aptitude test software. here is the problem we are encountering.. help wud be appreciated if (RadioButtonList1.SelectedValue == obj[2].ToString() || RadioButtonList11.SelectedValue != "") { int corr_ans = Convert.ToInt32(Session["corr_ans_count"]); corr_ans += 1; Session["corr_ans_count"] = corr_ans; } else { int wrong_ans = Convert.ToInt32(Session["wrong_ans_count"]); wrong_ans += 1; Session["wrong_ans_count"] = wrong_ans; …

Member Avatar for srikanthkadem
0
181
Member Avatar for Arianna

Just so you know, I'm a PHP beginner, so I won't understand complicated stuff or anything of the like. xP I've started to make a part of my website (may I link to it, or should I just post the code) and I'm pretty happy with it. A user can …

Member Avatar for Arianna
0
286
Member Avatar for sam023

[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use

Member Avatar for sam023
0
84
Member Avatar for cgyrob

I am creating a gridview dynamically using Itemplate but I have run into an issue where the event handlers I create for my drop down boxes in edititem template are accumulating every time it fires. To be more specific. When I enter edit mode and select a new item in …

Member Avatar for cgyrob
0
129
Member Avatar for tarek.mostafa

I have a simple question, I developed a java application, which runs on Oracle application server and Oracle database. This application depends on multiple JSPs on which multiple users can access a single JSP in the same time, some problems occurs due to the excessive usage of this application and …

0
85
Member Avatar for fawadkhalil

Hi How can i count number of times user viewed a specific page in my application. Also i want to use Session or something else because if a user refreshes that page it should be icremented once. Any ideas how can i do it

Member Avatar for fawadkhalil
0
100

The End.