3,454 Topics

Member Avatar for
Member Avatar for :Francis:

I have a web application that I upload an image to, the image is subsequently saved to the server's temp folder and displayed via a webhandler on the aspx page. the code for the aspx: [code]<img src="PreviewImageQualityHandler.ashx" alt="Picture not loaded" runat="server" id="imagePreview" />[/code] The code for uploading the picture and …

0
82
Member Avatar for ronaldpaul

[CODE]<?php //Start session session_start(); //Include database connection details require_once('config.php'); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Connect to mysql server $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } //Select database $db = mysql_select_db(shop); if(!$db) { die("Unable to …

Member Avatar for cwarn23
0
247
Member Avatar for veledrom

Hi, Assume I start session and print data stored in session and print some html stuff at the begining of php file. Then I need to use header() to download a file afterwards. When I do it i get this error: [CODE]Warning: Cannot modify header information - headers already sent …

Member Avatar for veledrom
0
121
Member Avatar for rajalingam22
Member Avatar for madmax007

Hi, I am trying to write some code in order to communicate with a telnet clent from a c++ application. My idea was to open a telnet session with popen and to use the input/output pipes to communicate but it does not seem to work. When I test, the program …

Member Avatar for madmax007
1
2K
Member Avatar for bevssi

I'm trying to display a .jpg photo into my report. I receive this error: ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal I'm using this code: strSQL = "SELECT oPeople.People_ID, oPeople.oPeople_TGCKFD,oPeople.Preferred_Name FROM oPeople Where oPeople.People_ID="& Session("ccpeopleid") & "" Set rs = …

0
60
Member Avatar for tunde011

I have a post a comment code that validates input but submits on page refresh. so i added session unique id to the form validation. but it won't let me post on any of the detail.php pages after i have posted on one(detail.php is a dynamic page that gets the …

Member Avatar for tunde011
0
164
Member Avatar for dmotah

hi i wrote a code in php which enables login with session. So that i can retrieve info of the loged user. It works fine in Firefox but not in IE8. What is probably the matter?

Member Avatar for cwarn23
0
108
Member Avatar for billybobc

Hi all, I was hoping somebody might be able to help me out w/ a pretty basic question. I'm creating a web app and trying to use the MVC pattern where I have a controller servlet that intercepts requests, does some work (like say reading from a database), possibly setting …

Member Avatar for billybobc
0
151
Member Avatar for billybobc

Hello, I've a newbie to JSP so I apologize if this is an obvious error on my part. I've been banging my head against this problem for a while and I can't seem to figure it out, though. Any help appreciated. I'm trying to create a web app that so …

Member Avatar for billybobc
0
3K
Member Avatar for skor

Hi all, I'm new here so forgive me if this has been asked before. I have installed oscommerce for the first time and I'm trying to configure it but I getting the next errors at the top of the browser: [COLOR=blue]Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script …

Member Avatar for wohoo
0
278
Member Avatar for jpegny

Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's …

Member Avatar for Ramesh S
0
87
Member Avatar for BzzBee

I am using same login information for three sites at different hosting servers. I am using same database for three of them but i just want if i am login at one site and then move to second site then my i should be already loged in. how can i …

Member Avatar for kireol
0
124
Member Avatar for buranda

Hi. I'm totally new to php and I want to impliment the login class using session. Assume that there are only 3 fields being user ID, password, and member's class in the Database and the three member's class are President, Vice President and citizens. Also if the user is logging …

0
56
Member Avatar for jino

Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying …

Member Avatar for hielo
0
762
Member Avatar for JimmyLloyd

Heya guys, i just had a quick situation i wanted to ask about. I've got a form created and when i submit it, $_POST contains 4 identical sets of data. Basically i had 3 separate table forms. One to collect information and enter a query, one to post the results …

Member Avatar for JimmyLloyd
0
152
Member Avatar for dmorrison2

Hi, im having a mental breakdown, iv created a script where a user will type a password into a box and if it matches the one in the config file then it creates a session. on all of my pages i have the following code. [CODE]<? session_start(); if(!session_is_registered(admin)){ header("location:login.php"); } …

Member Avatar for SKANK!!!!!
0
179
Member Avatar for futhonguy

Hi, I am tryin to store the time a user logged in into a session. However everytime the user logged out, the time stored is the logged out time. Can someone advise me how i should done it in order to store the time the user logged in? Thanks [CODE] …

Member Avatar for SKANK!!!!!
0
79
Member Avatar for ultras1

Hello to all. I have application where users are able to login. I use database for users. I want to get real-time currently logged users.For example if there are 5 online users and one of them close web browser, at the same moment online users to be 4. If I …

Member Avatar for ultras1
0
98
Member Avatar for dcads

Hi there, I am trying to create a session based on a field from a datareader. the code I have so far is [CODE] string sqlStmt = "Select Member_Username, MemberID from Members where Member_Username='" + UserName.Text + "' and Member_Password='" + PassWord.Text + "'"; SqlConnection sqlConn = new SqlConnection("server=********;"); SqlCommand …

Member Avatar for dcads
0
121
Member Avatar for fawkman

Hi Guys I am working on a php page that allows the user to upload files to thei proile. I managed to fina an open source upload class. Currently I have the code uploading the file to an images folder on the web server and that file is renamed to …

Member Avatar for fawkman
0
137
Member Avatar for t0wel

Hello DaniWeb members! I am using wininet for communicating with HTTP protocol.Everything goes right expect one thing: Cookies. Problem is that all cookies are not saved.Some of them are but no all.For example ASP.NET session id cookie doesnt get saved when i visit page with wininet but i need its …

0
42
Member Avatar for moerpheus

Hi guys, I use wamp for development, i kinda use it for multiple projects development! I have one problem, one site cannot remove session (cant destroy sessions) i dnt know why!... When I log out from other sites in my server can destroy all session variables (I can understand that!) …

Member Avatar for moerpheus
0
97
Member Avatar for mruthyunjaya

Hi all, i am designing a web interface for a system for which I was forced to use C for CGI application. as you all know, no session management in C, i am using cookies after normal validation. my issue is, with 2 or more people accessing the website from …

0
100
Member Avatar for praveen_dusari

hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings …

Member Avatar for quadrant
0
242
Member Avatar for culebrin

Hi, There's not much to add to the title... after I assign the complex object to the session object, the following response.redirect method stops working and hangs the development server. (I tried without it and it works great) maybe there is some considerations to care about session objects, I don't …

0
103
Member Avatar for brimble2010

Hi all, I am currently developing a webpart that works as a submit for many web parts at once. When the Submit button is pressed, it sets a session variable and then when the page is realoded, each form on the screen responds to this and calls their own Submit …

0
69
Member Avatar for SheSaidImaPregy

I posted earlier on this site for help on where to set a command when a user session timesout. I posted this in the global.asax file: [code]Imports System.Web Imports System.Web.SessionState Imports System.Diagnostics Public Class Global Inherits System.Web.HttpApplication Sub Application_Start(ByVal Sender As Object, ByVal E As EventArgs) Application("CurrentUsers") = 0 Application("TotalSessions") …

Member Avatar for jaredclinton
0
1K
Member Avatar for ceyesuma

The name of this question jstl_var_message Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans, JSF, glassfish [B] The Purpose of this post is: [/B] To set a variable to use to map the stylesheet.css to messages [B] The functionality of this code is: [/B] …

Member Avatar for ceyesuma
0
1K
Member Avatar for help_lucky

Hi All, Terminate session on closing the browser/tab. I am designing a site for the internal use of company employees at the client place, which contains some important secured data. Whenever a user logs in, modifies the data and they directly close the browser instead of logout. so the session …

Member Avatar for help_lucky
0
210
Member Avatar for adamwilden

Hi Folks, Really desperate for help here as I've spent days trying to resolve this one. We have a VB 2008 web browser app using a webbrowser control on our Kiosks at our uni - it works very well and locks down the workstation so teh students can only use …

Member Avatar for me655321
0
636
Member Avatar for Tommy_101

Hi, I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in …

Member Avatar for Tommy_101
0
91
Member Avatar for vikasj

Hi, I want to display data which i have entered through form(html or jsp) into database. I have a servlet and a bean with a function of database retreival. I have got one attribute value in servlet through session transfer into bean's method to retrive data with respect to that …

Member Avatar for peter_budo
0
82
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
87
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
203
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
152
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
193
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
101
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
109
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
119
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
73
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
102
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
61
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
154
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
135
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
412
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
69
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
144
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

The End.