3,454 Topics
Below error occur while deploying on server.while it work on local network . [COde]Server Error in '/' Application. -------------------------------------------------------------------------------- Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used …
Hi, I am really struggling with this problem. For ex. I have a login jsp page . After user logs in , I store their username and password in session object in next page. Now if I want more than 1 user to abe able to login from same browser. …
I need some help with setting up a session..... The image is what i am trying to design. [CODE]<?php session_start(); // store session data $_SESSION['views']=1; ?> <html> <body> <?php //retrieve session data echo "Pageviews=". $_SESSION['views']; ?> </body> </html> [/CODE]
i have a problem. i have a folder named jadu, there are various images . i want to show them in the a page. what i did its here [code=php]<? $path = "images"; $dir_handle = @opendir($path) or die("Unable to open $path"); echo "Directory Listing of $path<br/>"; while($file = readdir($dir_handle)) { …
hi, there , i am coming up with a login page and i am having error when i run the programme. It says [B][ICODE]'Invalid attempt to read when no data is present'.[/ICODE][/B] [B][COLOR="Green"]Session("ses_uname") = rdr("FirstName") + " " + rdr("LastName")[/COLOR][/B] [ICODE]Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Web Partial Class _Default Inherits …
Hi friends... am uploading a image file to folder... and as show below am using using a panel with ajax pop up extender.. in that i added the textbox control and fileupload control... but when click the button to upload.. the textbox value will be null... so how i to …
Hello everybody, I have a big problem with my laptop, it is so slow with a high cpu usage all the time. I have rebooted my entire laptop now two times and the problem did come back both the times after a while, 1 month probably. I am sure my …
Does anyone have a clue as to how you would impliment lets say : onclick="MM_goToURL('parent','index.htm');return document.MM_returnValue" inside lets say this: <script type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["tubtehr",430,"","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0],this); stm_bp("p0",[0,4,0,0,3,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#ffffff"]); stm_ai("p0i0",[0," Products ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#666666",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ffffff","8pt Arial","8pt Arial",0,0]); stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration=0.10)",-2,"",-2,100,2,3,"#000000","#ffffff","",3,1,5,"#666666"]); stm_aix("p1i0","p0i0",[0,"Order Catalog of Courses","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000"]); stm_ai("p1i1",[6,1,"#666666","",0,0,0]); stm_aix("p1i2","p1i0",[0,"AUDIO CDs - coming soon"]); stm_aix("p1i3","p1i1",[]); stm_aix("p1i4","p1i0",[0,"DVDs - coming soon"]); stm_aix("p1i5","p1i1",[]); stm_aix("p1i6","p1i0",[0,"VHS TAPES …
Please help me, i tried to pass information from detailed view and to another detailed view in another page. I put this code in the first page [code=asp.net] protected void ViewRemuneration_Click(object sender, EventArgs e) { //Button ViewRemuneration = (Button)sender; //string sendID = ViewRemuneration.ID; Response.Redirect("Remuneration.aspx?employeeId=" + DetailsView1.SelectedValue); } [/code] and to …
What is the lifetime of session variables in a asp.net application.. Also can someone give me any links to good articles on session variables in asp.net which give information on advantages and disadvantages of using the same.
hi every body i am using three dropdownlist for search criteria , the problem is when dropdown idex is selected the dropdown itself will disappear,because the page is getting refereshed every time when i select dropdown thwe index value will be 1. pls help me out. i attached the code …
Hi , I am running my own built plug-in in Eclipse 3.4.2. I successfully built my plug-in but when i try run my plug-in, eclipse is displaying following below error !SESSION 2009-07-06 17:05:16.181 ----------------------------------------------- eclipse.buildId=unknown java.version=1.5.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -dev !ENTRY org.eclipse.osgi …
Hi there, Is it possible that two user's use same application with different computers and somehow one's session data getting overwritten with others? I am not having any code error anywhere but somehow one's data getting overwritten with others. Please help me because I am trying to solve this error …
I developed a jsp page.. and i dont want any one to access the page just by copying he URL what to do.???
Hello, Great forum! I have implemented a USER LOG-IN scheme in my site. Below is the code to build my session variable data: [CODE] //Create query $qry="SELECT * FROM volunteers WHERE Username='$login' AND Password='$password'"; $result=mysql_query($qry); //Check whether the query was successful or not if($result) { if(mysql_num_rows($result) == 1) { //Login …
Hello, I have developed a web based application using jsp and connection as Oracle 9i database. The problem encountered is that whenever I am opening any jsp pages, a session is being created in the database which even after being killed did not disappear. In fact it should be that …
Hello friends.. I want to destroy the session when user click on Back button or browser... is it part of Javascript or Php..? i think its just a small Query..!! Thank u..!! :)
[B][/B]hi there, i need help in my vb behind codes. There is an error at these part [B]'con.Open()[/B]'. When i run the code the error says, [B]"The ConnectionString property has not been initialized."[/B]. It also says , "invalid operationsException was unhandled by user code." [code]Imports System.Data.Sql Imports System.Data.SqlClient Imports System.Web …
hello! I tried to answer the sample question and I have to name the osi layers which do the following functions. Please check my answer and correct if it is wrong. 1.Communicate directly with user’s application program Application Layer 2. Error correction and retransmission Data link layer 3. Mechanical, electrical …
Hello friends.. I want to destroy the session when user click on Back button or browser... is it part of Javascript or Php..? i think its just a small Query..!! Thank u..!! :)
I recently decided to take a chance and install some unstable upgrades (I love unstable things). So I upgraded many of my applications via apt-get. One of the big things I upgraded was libc6. I think that my be the issue, not sure. After the upgrades, I had many many …
Dear friends, I have this code which attempts to get the last modified date of an http resource: [CODE]request = urllib2.Request('http://www.imdb.com') >>> opener = urllib2.build_opener() >>> request.headers {} >>> first = opener.open(request) >>> first.headers.dict {'transfer-encoding': 'chunked', 'set-cookie': 'session-id=209.251.138.146.1246519635845007; path=/; domain=.imdb.com, uu=bN4RO5T1YWqLBgRAupwcdgCRSyzj0j26pvJ+qYPCXqmT117Zs9L+/LfGO4zGx50bwJFtjNPSXuqj8g4pgDJ+meCRbaoGcS2aoNZb7PiBbbqjkm66I/I+qSAyfpnj8l7qA/I+qTAyfpngkW2KBnEtmqDXe20AkW26oLFtuqC3KyrjwW26o5IOuZOyLtnAgc0ZsLFtuqCRbergwR2Ko=;expires=Thu, 30 Dec 2037 00:00:00 GMT;path=/;domain=.imdb.com, cs=xOA2Pyx3xsSbt7wMU8ZOhAbGfbqgkW2NmIHl2qPyXuoj8j6pMDJ+meCRbYoGES2aoJFb/feFHbqjsg7/p9HNySCRWyxAGW26oKdbraCRbbqgsW26oJFt+uDBHYqg==;expires=Fri, 03 Jul 2009 …
hi, I want to use 3 sessions on page load in 3 different text boxes .can I do this?If yes ,how?Please reply. thanks in advance.
Good Day, When I run my servlet in my web browser, everything runs fine ... until i press one of the option buttons, Deposit, Withdraw or Balance, then i get the following error: [COLOR="Red"] type Status report message /servlet/HTMLBank description The requested resource (/servlet/HTMLBank) is not available.[/COLOR] Here is the …
Hi, there, I need help with the connection string . An error saying 'Object reference not set to an instance of an object.' Can be seen when i make the system to run. It effects the code below: [code][B]Dim str As String = ConfigurationManager.ConnectionStrings("CourierSystemConnectionString").ConnectionString[/B] Partial Class _Default Inherits System.Web.UI.Page [B]Dim …
Hi all, I have developed my own website. I need to add a counter that tells the number of visitors to my website. can u plz help how to do. I know only a little about sessions since i dont have references.But Dont worry I will understand your codes and …
Good afternoon, I am in the process of learning java and I am a little bit stock on a couple of issues. I am working with javamail version-1.4.2 and JavaBeans Activation Framework 1.0.2 release. The purpose of my code is to give me the ability to move e-mails from one …
Hi everyone Plz reply..its urgent I am trying to track progress of a database operation . and want to dislplay percentage progress on page asynchronously. Process.jsp - In this i used javascript to call ajax function continuously which returns precentage progress. My Code is : [code] <!DOCTYPE html PUBLIC "-//W3C//DTD …
I need desperate help; I need to extract a user id from mysql database to make the id into a session, i have tried all that i know and it doesn't. My last resort was the following code from DW and it just breaks my design. The code is; [icode]<%=(((private_d_data …
I have a login script,which after a member login successfully session is registered. The problem is that if user dont use the page for a certain time from 30 minutes. session a getting lost,and member should login again. So what can i do to lengthen the session time,if its possible …
Hi everyone, I'm cureently working on a project for computer calss,we are building a website... it's on locachost. so I came across something I couldn't figure how to create. Basically I need to create an admin page , which Enables me to see all the users and delete\update their information. …
I'm taking a course in Web development, learning to write PHP and I been working very hard on trying to find the errors in this script. I'm very new to programming and I get confused on where '," belong in the code. Any suggestions you can give is very helpful. …
when i click on the treeview the page gets refresh and the control wont go to roottree_SelectedNodeChanged Plz anyone help me...... [code]/* Document */ private void GenerateMarksTree(StudentManagement.Student stud) { TreeView roottree = new TreeView(); roottree.ForeColor = Color.Black; roottree.ShowLines = true; TreeNode root = new TreeNode(); root.Text = stud.Branch.ToString(); root.Value = …
I hope my post is not redundant. Many of the titles used make it difficult to determine their content. I am looking for a good tutorial on cookies - I think. I'm new to this stateless kind of development. Briefly, I would like to store ID key in a cookie …
I have encountered this error message while trying to print the report. The error message is as below: Query Engine Error: 'C:\WINDOWS\TEMP\temp_6b2987aa-9743-44b7-8a63-a14f4a186b44.rpt' Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated …
EDIT: I just realized I should have posted this in the MySQL section. If a mod can move it there I'd appreciate it. Thanks :) Hi all I have two tables. The first one has the details of each fruit, its code, markup percentage, it's cost price and the amount …
Hey Guys, I have login page in my web site. I have used SESSION to store the username and the user password. What i want is that after succesfully logging in he should not be able to go back to the previous page. What's happening rite nw is that when …
Good Morning All i have a Ultrawebgrid defined like this [code] <igtbl:UltraWebGrid ID="ultraGridStudentsMixTypes" runat="server" Style="left: -8px; top: 375px" OnInitializeLayout="ultraGridStudentsMixTypes_InitializeLayout" OnDataBound="ultraGridStudentsMixTypes_DataBound" OnSelectedRowsChange="ultraGridStudentsMixTypes_SelectedRowsChange"> <Bands> <igtbl:UltraGridBand> <RowEditTemplate> <br /> <p align="center"> <input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="OK" /> <input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px" type="button" value="Cancel" /></p> </RowEditTemplate> <RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge"> <BorderDetails …
hi, there .i am coming up with a login page authentication, however i am getting this error that says[B] 'Type SQl.Data.SqlClient.SqlDataReadercon1 is not defined '[/B] [code] [B]Dim reader As System.Data.SqlClient.SqlDataReadercon1 [/B] <%@ Page Language="VB" MasterPageFile="~/CouierMasterPage.master" Title="Untitled Page" %> <%@ Import Namespace="System.Data.OleDB" %> <%@ Import Namespace="System.ComponentModel" %> <%@ import namespace="system.web.security" %> …
Can somebody tell that statement is true of false? The session layer is the network dialog layer it allows the communication between two process to take place in either half duplex or full duplex mode.
Hi, everyone, I'm a new member here. Currently, I'm developing a web application and there's a need to make an activation for the product I developed. I want give activation on my product for a time session on local. My question is, is it possible to make that? As we …
i want to create an application in friendster.. heres my code: index.php [code] <?php require_once(dirname(__FILE__). '/lib/FriendsterAPI.php'); // TO DO: Enter your secret key below define('T_SECRET', 'f0ce8960ce76e39193ef43bea42f8a97'); define('T_CSS_STYLE', ' style=" height: 120px; background-color: #111111! important; overflow: hidden; margin: 0 auto; "'); // GET parameters from callback URL $user_id = $_REQUEST['user_id']; $api_key …
Hello all, Just wanted to see if I am leaving open some security hole in a script I have! When the user logs in it creates a session based on the id field of the users table! For example .... my id is 10 so a session is created with …
There is a cgi code written in C++. Currently there is no session management done in the web pages. There is a need to provide sessions in the web pages so that the user can login, maintain session and then logoff. While this is a fairly simple task in java …
Hi folks, first of all sorry to say I ain't got any sample code and couldn't find anything obvious from Google and searching forums. Anyone got any ideas about integrating Joomla (latest version) session handling with a bog standard session_start/$_SESSION['user'] (etc) custom pages. Here's the explanation: I wrote a site …
What is the purpose of view state,application and session and what is the difference among them?? i googled it but couldn't get exact idea .. i'm just a beginner.. help me plz
Hello, I am pretty new to php I have to restructure all my code to avoid the famous warning error [INDENT]"Warning: Cannot modify header information - headers already sent by (output started at...)" [/INDENT] I get this at least 4 times in my code due to cookies and session start. …
Hi all I'm having problems with a remote connection by sftp. I'm using public key to connect avoiding the passwd request. The correct key is added to the authorized_keys file. The problem is that the remote host is closing the session. (I'm in charge of the incoming host, a partner …
Good Day all i have a Ultrawebgrid i n my page and i display Data in this Way [CODE] STAFF CYCLES ========================= Galloway A Ms 20,22,23,24,25,26 Gama, E 20,22,24,25 Grieve S Ms 20,25,26 Jones D Dr 24,26[/CODE] and a user can select the Staff in the Grid by Holding a …
[URL="http://www.daniweb.com/forums/thread46880.html"]Old Thread on the same topic[/URL] I have tried all kinds of things to resolve the issue. My code even works on another server, but I can not use that one. There is NO whitespace. [code]<? // login.php - login form ?> <script type="text/javascript"> function Usernamevalid(which){ var test = validateusername(which); …
The End.