3,454 Topics

Member Avatar for
Member Avatar for AniWeb

Hello All, How I can edit rows of gridview using Command Field ‘Edit,Update,Cancel’ of the gridview? I bind the gridview with the Session variable, which contain and returns the DataTable, the coding is as follows:- [code] protected void Page_Load(object sender, EventArgs e) { GridView1.DataSource = (DataTable)Session["MyShoppingCart"]; GridView1.DataBind(); }[/code] One more …

Member Avatar for greeny_1984
0
360
Member Avatar for lehe

Hi, These days I have to install a higher version of bash under my $HOME on my office server. I hope to make the new bash automatically run both when I ssh to my server and when I boot into my office computer which loads my $HOME on the server. …

Member Avatar for eggi
0
183
Member Avatar for atplerry

Hello i am designing a website that the security need to be taking care of now i am in thought on what decision to make on either using Query String OR session/cookies but i dont know the use of query string but i have use session to complete the website …

0
108
Member Avatar for jaiprakash15

Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] …

Member Avatar for jaiprakash15
0
491
Member Avatar for samaybhavsar

HI All, I want to make my own chat system, something similar to HCL, CrafySyntax. To start with I have some questions. 1) When does a session ends ? 2) How do I get to know on the server end if the session has ended ? 3) How will I …

0
49
Member Avatar for somesh_nag

Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If …

Member Avatar for ravinder007
0
1K
Member Avatar for shasha821110

Hi, all i want to have the "add to cart" function in my website which use session function: Well basically the cart is mostly like others website cart: remember which have already been added and could add something more Assume i have class.php, A.php and B.php In my A.php [CODE=php]<?php …

Member Avatar for shasha821110
0
99
Member Avatar for Craig2231

Hi everyone, Im making a game that requires a login. Ive got stuck on a problem; When a user tries to log in, it wont accept it, its in the database, the script checks the database, but it still says no Here is my login check: [code=php]<? session_start(); header("Cache-control: private"); …

Member Avatar for Craig2231
0
124
Member Avatar for ceyesuma

[I] Name: [/I] The name of this question is bundled_resources [ICODE] Hello and Thank you in advance for any assistance. [/ICODE] [U] [B] Purpose: [/B] [/U] [B] The purpose of this code is to change the label of a commandButton by hijacking the resource bundle functionality and setting the label …

0
45
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Member Avatar for ceyesuma
0
118
Member Avatar for valsaraj

What is the best method to share session across multiple domains on same machime. ie, domain name different like abc.com, xyz.com but single application.

Member Avatar for cwarn23
0
3K
Member Avatar for ashish1nov

Hi Expert i m new in jasp . i want to show name text after click on button which will be feed in text box . thanks ashish [code=JSP]<%@ page contentType="text/html; charset=UTF-8" session="true" buffer="16kb" autoFlush="true" isErrorPage="false" isThreadSafe="true" info="Directive page demo" import="java.util.Date"%> <html> <head> <title>Directive page demo</title> </head> <body> This is …

0
46
Member Avatar for gagan22

hi everyone, I have found one warning in my php code. How it can be removed. pls help me . It is very urgent. warning is like this on a php page......... Warning: session_start() [function.session-start]: open(/tmp/php-ses/sess_7dbaf8a556cd076ed8409da8908ea802, O_RDWR) failed: No such file or directory (2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2 Warning: …

Member Avatar for gagan22
0
585
Member Avatar for madhusvuce

I’ve developed a website using ASP.NET 2.0 & deployed it on IIS 6.0.I’m using Cookies to store user related information. The expiry of this cookie is set for ‘7’ days. In IIS one new application pool is created to be used by my web site. This application pool is configured …

0
92
Member Avatar for gagan22

Hi everyone, I am facing such type of warning is coming in php file.How it can be resolved . I have also used session_start() function in php file as a first line in php code. I have used it just prior to sending output to browser.But still warning is coming. …

Member Avatar for nav33n
0
91
Member Avatar for sillyminds

Please provide me a method or script for opening remote connection to remote windows systems from a windows system for doing admin tasks like assigning a local user admin rights to the remote windows system. Well Win32 Net:Admin can be I think, used for getting local user properties or group …

Member Avatar for vharry
0
121
Member Avatar for theimben

Im having trouble ending sessions for some reason :| Heres my code. Can anyone see what the problem is? [code] <?php include('includes/config.php'); unset($_SESSION['isLogged']); session_destroy(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </HEAD> <BODY> <?php echo '<div class="nav">'.$navigation.'</div>'; ?> You have been logged out. </body> </html> [/code]

Member Avatar for nav33n
0
116
Member Avatar for mukherjiikunal

I am using the httprequest class in one of my applications to request a cross domain page. Basically I needed to inlcude two pages based on thge logged in state of the user, via cross domain ajax request. Due to security issues this is not allowed. So what I did …

-1
59
Member Avatar for nokomoli

Hi guy, i'm newbie of .net language. Last week i found a new method at the .net with vb.net language. That is in the Global.asax, you are enable to store a global variable. The common at below: [ICODE]Application("ABC")="CDE"[/ICODE] i doubt that this method with cookies or session. Besides this, i …

Member Avatar for nokomoli
0
138
Member Avatar for PinoyDev

Good dat to everyone.! Ive just so tired just to finished my thesis. Ive got problem in php summing up while looping and filtering. here is my code: [code=php] mysql_select_db($database_enamysqldb, $enamysqldb); $query_recpayment = "SELECT amountpaid, username, SUM(amountpaid) FROM paymentsummary WHERE username = %s and foryear = %s and forlevel =%s", …

Member Avatar for PinoyDev
0
102
Member Avatar for fernandodonster

I have web site and want to find the total time each visitor spent(after login) on my site's specific php page eg.[URL="http://www.mysite/profile.php"]www.mysite/profile.php[/URL]. How i do it ? thanz in advance

Member Avatar for free2step.com
0
117
Member Avatar for yorock

The following is my login code for my project.. [code]Function ValidateUser(ByVal uid As String, ByVal pwd As String) As Boolean 'Dim sName As String Dim sUser As String Dim sPwd As String Dim blnValidUser As Boolean blnValidUser = True Dim strConn As String = "server=YOGESH\SQLEXPRESS;Trusted_Connection=yes;database=jobbunch.mdf" 'Dim MySQL As String = …

Member Avatar for Aneesh_Argent
0
122
Member Avatar for deepika_m

I have a login page for which users and their passwords hav been updated in database. If a user continuously enters invalid password 3 times then im displaying an error message and blocking the user. when i enter another user name the error message continues to be displayed. btw, im …

Member Avatar for Comatose
0
110
Member Avatar for puk

Im doing a login facility for my website iv connected it to the database but when i try to enter some values for login name and password i get the following message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/milkitshakeit.freehostia.com/log.php on line 16 Here is …

Member Avatar for Andrieux
0
200
Member Avatar for PinoyDev

Good day.! I am having problem with passing the parameter value. I have a page called index.php. This page has a textbox named "username" when the user login and type his/her user name in the textbox named "username" i want the data of that user to be displayed in the …

Member Avatar for PinoyDev
0
174
Member Avatar for designingamy

Hello all! Sorry in advance if this seem like a really dumb question. I have one page where a client posts their personal info. One way I check the post is to use htmlspecialchars and then store it in a session. For example... [code] <?php session_start(); include ("databaseinfo.php"); //Form validation: …

Member Avatar for Will Gresham
0
125
Member Avatar for changeco

I'm not new to php, but, I'm not a great coder either... I'm not too familiar with sessions and session variables. I have been tasked with building an online "management" system for the eLearning we're offering. We have one .swf file for eLearning currently, but, have 23 in production so …

Member Avatar for blocblue
0
95
Member Avatar for Coreye

Hey guys, OK, here's what I am trying to do: I need to log into another website, and download their reports. Seems easy right? Well, it is... because I've done it with numerous other websites. However, this one is tricky. The only way I can download the report at this …

Member Avatar for Coreye
0
137
Member Avatar for fastmichaels

Hello people I'm new here (And new to web develepment) and hope to stay for a wile if you let me ;) I am trying to construct a WHERE clause on a grid view of a database table I have on a website I am creating in vwd 2005 express, …

0
79
Member Avatar for sureronald

I am working on a web application and I would like to combine java script and php. I am using the window.confirm() function which gives a user an option to choose either yes or no. I am actually using this feature to end a users session so if user clicks …

Member Avatar for Member #120589
0
114
Member Avatar for jgna

Dear Forum, I've been doing php for sometime but just doing my first secure site. I am usign shared ssl from my webhost. I setup my pages and tested a paymennt system and the test is ok but now need to move the pages that contain personal info to the …

Member Avatar for cwarn23
0
71
Member Avatar for queenc
Member Avatar for mschroeder
0
92
Member Avatar for emmaelle

How to enable Cookies in web browser i listed in this post. Web sites like myExpedient.net and others require that cookies be enabled. To specify how your browser should handle cookies, follow the instructions below for your web browser version: 1. Select the Internet Options option from the View menu. …

Member Avatar for Joseph25
0
184
Member Avatar for Bob Arctor

Hello all, If I use a "typical" href - No problems I see the session value being passed to the page (populating a form field). Using the pop up link not surprisingly nothing gets passed. My lack of experience is letting me down here. Any solutions or an alternative ? …

Member Avatar for Bob Arctor
0
464
Member Avatar for amey72

Hi, I am trying to connect to a COM component using PHP, but keep on recieving an "Unexpected error has occured" message. The COM component code is [CODE=vb] Option Explicit Public Enum ApplicationErr Unexpected = Error.Unexpected End Enum Private Const m_csClassName As String = "XYZ.Application" Public Sub Initialize(ByVal udl As …

0
54
Member Avatar for dodo123456

I am working on LOGIN Module and all my code is ok. on my localserver: the code works exactly fine. it gets login and gets logs out.. On my Host using sql server 2005.. I just try to login and it does not get logged in. no case sestiveness applied …

0
63
Member Avatar for mlempaa

hi there , this is my code [code]ob_start(); <?php require_once('Connections/connectdb.php'); ?> <?php include('Connections/connectdb.php'); ?> <?php //initialize the session if (!isset($_SESSION)) { session_name(Username); } // ** Logout the current user. ** $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true"; if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){ $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){ //to fully log out …

Member Avatar for sarithak
0
163
Member Avatar for jaiprakash15

Dear Friends, I a working on a project where i have to let the user to type in other languages(hindi,tamil,kannada etc..) and i have to store into the database and retrive it back and show it to the client in the same language he has entered..I am using postgres 8.0 …

Member Avatar for peter_budo
0
228
Member Avatar for tulsi_apr03

hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. …

Member Avatar for tulsi_apr03
0
197
Member Avatar for thunderman

hello, I 'm still a noob at programming in vb.net I have a little problem. I 'm trying to get my selected rows to another page. I already can select my rows with checkboxes but I don't know how I can pass them through a session to another page. hopefully …

Member Avatar for sada.umesh
0
379
Member Avatar for jakx12

ok so what i want this to do is to get the gallery name, then place it in a hyperlink, with the href including the gallery name so on the page im re-directing to i can use $_GET and get some information without a session etc. But there is nothing …

Member Avatar for ShawnCplus
0
124
Member Avatar for skaterz

Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between …

Member Avatar for skaterz
0
180
Member Avatar for skaterz

Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between …

Member Avatar for skaterz
0
134
Member Avatar for RajeevSd

Hi I am creating a web application containing html and jsp files.....Actually the whole application is divided into three frames ie. left , center which expands to right also and bottom.....I have put my logout link there at bottom....The logout.jsp file has code [icode]<% session.invalidate() %> [/icode] which is terminating …

Member Avatar for peter_budo
0
144
Member Avatar for bondi007

I have the enterprise version of Norton Suite, it has the console etc.. I want to be able to set up a session on my server where I can host ghost images.. the only thing I want to know is how do you create an image of a client computer? …

Member Avatar for cguan_77
0
256
Member Avatar for ff4930

Hello, Im new in ASP.NET and have been reading about state management and have a couple of questions, it be great if someone could help me understand. Im having trouble understanding the use of ViewState. It is only limited to the current page, what kind of typical/common use would it …

Member Avatar for greeny_1984
0
392
Member Avatar for Yoda123

I have somehow acquired an odd virus. When I start up my computer a Security Center Alert comes up asking if I want to block suspicious software called Win32.Zafi.B with a high threat level . There is an enable protection button. I've pressed the button and when I do mozilla …

Member Avatar for crunchie
0
410
Member Avatar for nicolemcgrgr50

I'm new to php, but not to programming, and i'm using very basics of sessions to manage a user being logged into my site. When testing it, everything works until I move away from my site. I would like the session to be destroyed if you navigate away, is there …

Member Avatar for Dani
0
97
Member Avatar for bullockpasha

I created a courses.xml file and I want to find the answers for following queries.I am new to xml so I want to know how I can do it.I want to use Xpath or Xquery. Here is the queries i want to find: 1-How can I find find the TA …

Member Avatar for bullockpasha
0
127
Member Avatar for edejonge

What would do you consider to be the best way to handle large amounts of data on the client side? How about from a security standpoint? I've been looking into the different methods to store and manipulate query results on the client side. The application I've been working on is …

Member Avatar for serkan sendur
0
136

The End.