4,124 Topics

Member Avatar for
Member Avatar for denmarkstan

i want to retreive a record that has ten columns including a passport. i have done everything but when i run the program, i succedded in retrieving all the columns except the image field. please let somebody help.here is where i set the property of the image: [ICODE]<asp:DetailsView ID="DetailsView1" runat="server" …

Member Avatar for siju kuriakose
0
191
Member Avatar for chwong

Q1. If my application such as MS office in standalone computer and without access internet. Will this application need to use application layer in internet model. Application layer in Internet model consists of presentation layer, session layer and application layer. What software is using application layer? Q2. FTP is example …

Member Avatar for wmrandall
0
285
Member Avatar for mrlol

Hi.. Good day.. thank you for viewing my thread.. i would like to ask my fellow frens in daniweb to help me to validate access in my assignment system... currently my database is like this: [CODE]Assignment_id | Assignment_name | Member | Remarks 1 test 1 John, Sue, Veronica ok ok …

Member Avatar for perfectweb
0
124
Member Avatar for shyla

Hello, i am trying to solve that problem, it was already due for my class, an i am disappointed that i wasn't able to solve it can any body give a descent solution for that Q: The tiny tots tee-ball league has 12 players who have jersey numbers 0 through …

Member Avatar for abelLazm
0
280
Member Avatar for ARaza110

Hi, I have a problem related to Java servlet sessions. I don't understand why the getAttribute() function of the session object is used before setAttribute(); Here is the code: [code]Vector buylist=(Vector)session.getAttribute("Register"); if (action.equals("del")) { String del = request.getParameter("deli"); int d = (new Integer(del)).intValue(); buylist.removeElementAt(d); } session.setAttribute("Register", buylist);[/code] Thanks.

Member Avatar for mKorbel
0
404
Member Avatar for k4zz

Need help in transforming xml to xsl. I am trying to create a timetable and am trying to transform the xml data that i have into an xsl data. [CODE]<Timetable> <Week> <Day DayID = "Monday"></Day> <Day DayID = "Tuesday"> <Session no = "1"> <Module type = "CMT111"> <ModuleName> CPM </ModuleName> …

Member Avatar for xml_looser
0
289
Member Avatar for Shruthi_R

hi am developing a online test application i need to fix up a time for the test and redirect to result page as soon as the test is over how can i do this i think we need to set up a session timeout property can anyone clearly explain me …

Member Avatar for prashantprof
0
566
Member Avatar for WhiZTiM

First of all, I'm 17 learning C++ on my own! I've been enjoying Daniweb. and I did like to thank the community for that! Thank you all! Here goes my Problem... I have a small program that calculates time between two instances and it worked fine... so I decided to …

Member Avatar for WhiZTiM
0
293
Member Avatar for raephel

Hi all, I'm facing problem while with invalidating session. Actually I want to redirect a user to the login page if the session is invalid either he presses back button or enters a url. Plz help me. Thanks.

Member Avatar for raephel
0
414
Member Avatar for mbarandao

Good day: Need some assistance with an idea which seem to be complicated as I think of it and can't seem to figure out an appropriate implementation. I'm working on a hosted service app which requires a php logging system to identify the user and their respective account. On this …

Member Avatar for mbarandao
0
110
Member Avatar for G_Waddell

Hi I thought I'd share this with you all as it is really quite simple but I spent ages looking for it. I have an ASP.Net App with a master page containing a tree view that holds a heirarchy of data (as opposed to site naviagation) What I wanted was …

0
664
Member Avatar for abathurst

Hi, I am new to ASP.NET and i have been thrown into the deep end on a project, the person who created this code is no longer available. The website allows an Admin to login and edit, update or delete information in an SQL database referring to PDFs located on …

Member Avatar for abathurst
0
311
Member Avatar for agriz

[code] session_start(); $facebook = new Facebook(array( 'appId' => 'keys', 'secret' => 'keys', 'cookie' => true, 'domain' => 'domainname.com' )); [/code] //What is cookie => true here? Does it gives session to only one folder? I want to have that session in the overall website. [code] $session = $facebook->getSession(); if ($session) …

0
86
Member Avatar for david_s

hello everyone, i'm new to php and i'm having hard time with sessions i'm trying to create a php file with a drop down menu and when you select an item from the drop down menu, you could retreve it from another page. for example: a1.php [CODE] <?php session_start(); if(isset($_POST['color'])) …

Member Avatar for david_s
0
150
Member Avatar for arjuncc

hi, i am a newcomer in jsp. straight to the matter, my problem is, i have a parent page. one child pop-up is loaded from it say child1, and then next child child2 is loaded from child1. the problem is at the session out i need to close these two …

Member Avatar for youwill
0
130
Member Avatar for narekm

Hello there..While installing Joomla i am facing this problem...These are the requirements [CODE] Directive Recommended Actual Safe Mode Off Off Display Errors Off On File Uploads On On Magic Quotes Runtime Off Off Register Globals Off Off Output Buffering Off On Session Auto Start Off Off [/CODE] As you can …

Member Avatar for narekm
0
175
Member Avatar for pinkygirl

Hello! 1) I have no idea how to use Session objects, especially when it has to remember the Session of the logged user. When the user clicks logout, his session should be removed until the next time he logs in. 2) Also, how to validate the user in such a …

Member Avatar for pinkygirl
0
109
Member Avatar for jrotunda85

So this may be a bit of a stupid question but I'm not sure I'm understanding this completely. Currently, my site uses sessions to store username and a UserID across the site; however, the session lacks the ability to remember a user should they close the browser. I want to …

Member Avatar for Wraithmanilian
0
116
Member Avatar for McLaren

Hi, I am trying to integrate facebook using library from this blog: [URL="http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/"]http://www.key2market.com/2010/12/integrating-facebook-with-codeigniter-2-0/[/URL] I made a test function: [CODE] function index() { $this->ci =& get_instance(); // Create our Application instance //(replace this with your appId and secret). $this->ci->load->file(APPPATH.'/third_party/facebook.php'); $this->data['facebook'] = new Facebook(array( 'appId' => $this->ci->config->item('id'), 'secret' => $this->ci->config->item('key'), 'cookie' => …

0
73
Member Avatar for kieky

hi all, [B]i really need your help[/B].. can u correct my code to delete session below? thx before... [CODE] protected void GridView_Main_RowCommand(Object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Erase") { string childId = Convert.ToString(e.CommandArgument); IList dataUserList = new ArrayList(); if (Session["UserList"] != null) { dataUserList = (IList)Session["UserList"]; foreach (UserList …

Member Avatar for kvprajapati
0
68
Member Avatar for kokfui

<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php require_once("includes/session.php"); ?> <?php find_selected_item(); ?> <?php include("includes/header.php"); ?> <?php if (isset($_POST['submit'])) { $top_up_cash = mysql_prep($_POST['top_up_cash']); $user_id = $_SESSION['user_id']; $result = mysql_query("SELECT * FROM users WHERE id='$user_id'"); while($row = mysql_fetch_array($result)) { $bidot_cash = $row['bidot_cash']; } $new_bidot_cash = $top_up_cash + $bidot_cash; $query= "UPDATE users SET …

Member Avatar for diafol
0
135
Member Avatar for lightshift

Hey all, I am making a website for a project which allows the user to "purchase" items. Currently, I have all the items displayed in a grid view which has selection enabled. When you click this, it stores the cell values into sessions which I retreive on another page as …

Member Avatar for Erra93
0
181
Member Avatar for ziggystarman

Hi been using the following code to close an external program. [CODE]ShellExecute(0, L"open", L"taskkill.exe",L" /f /im program.exe", 0, SW_HIDE);[/CODE] However once in a while I get the dreaded windows blue screen, not sure what to make of the mini logs it produces. One suggestion on microsoft's site is that it …

Member Avatar for ziggystarman
0
181
Member Avatar for eagled2

Hello. I am working on a permission system for a site I am creating. First I will explain what I am trying to do, then I will explain the problem I am having. I am saving the active permissions for a user at login. The permissions are saved in a …

Member Avatar for eagled2
0
126
Member Avatar for gaurav balyan

what is the role of session and why do we need session in asp.net please ellaborate

Member Avatar for Ramesh.KR
0
78
Member Avatar for Sorcher

Hello! I am beating myself up here. I use [CODE]include "header";[/CODE] on all pages, at the top, the header contains everything within <header></header> on a html page. But should i use [CODE]session_start();[/CODE] inside the header or before i include header.php on all pages? The session on my website logs out …

Member Avatar for diafol
0
312
Member Avatar for mekalai

I'm trying to create a simple login page by following a tutorial i saw online. I did everything it required but i got this error Deprecated: Function session_is_registered() is deprecated in C:\xampp\htdocs\final\login_success.php on line 7 Login Successful my code is login_success.php [CODE]<? // Check if session is not registered , …

Member Avatar for mschroeder
0
115
Member Avatar for scrapple

Upon booting up my laptop today, Avast started showing me an alert for a "Malicious URL" even though I had no applications started and had not yet performed any actions. The popup message indicated that the site trying to be reached was 68.178.232.99/wpad.dat and the process trying to reach it …

Member Avatar for jholland1964
0
469
Member Avatar for suncica2222

I have to populate simple combobox,so on Submit button <option values > for combobox should be carried through request global,and action should stay on same page. But when I debug jsp I see that request stays empty??? Also combobox behave funny,it changes value when pressed any button on page??? form …

0
77
Member Avatar for erioch

Hi all, I have this code for registration page, I have run some diagnostic tests and found that it is valnurable for Cross site scripting, any help??? or sugestion??? I have attached a copy of the report. Other pages had valnurabilities but very low.... I am not good at asp …

Member Avatar for reygcalantaol
0
435
Member Avatar for darshini.dayal

[code] <% if (this._arr_design.Count > 0) { %> <% foreach (Ameronix.Teeone.Models.Design obj_design in this._arr_design) { %> <tr> <td style="width: 254px; height: 27px;"><%= obj_design.name_design.ToString() %> <div class="thumbnails"> <% foreach (System.Collections.Generic.KeyValuePair<int, Ameronix.Teeone.Models.DesignSection> kvp in obj_design.arr_design_section) { %> <div class="thumbnail"><a href="/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg" rel="lightbox"><img src="../resources/get_image.aspx?src=/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg&width=50&height=50" /></a></div> C# …

0
108
Member Avatar for quincy.89

<?php ob_start(); include("sys.php"); session_start();//when nid use session nid put tis ?> <html> <title></title><head></head> <script type="text/javascript"> function addRowToTable() { var tbl = document.getElementById('tblSample'); var lastRow = tbl.rows.length; // if there's no header row in the table, then iteration = lastRow + 1 var iteration = lastRow; var row = tbl.insertRow(lastRow); var …

Member Avatar for debasisdas
-1
1K
Member Avatar for ss90

I wanna showing the user name in every page when they are s successfully login to the page .But dun knoe why it cannot work~~ This is for login page ~~ [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION …

Member Avatar for ss90
0
180
Member Avatar for Giggaman

I have the login page created that captures the userid & also an edit page that shows all info of a certain table in database. Trying to figure out when a user views the edit page to have it only show the info the user created. Making it only possible …

Member Avatar for Giggaman
0
290
Member Avatar for patel.ajay82

[code] import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class SendMailTLS { public static void main(String[] args) { String host = "smtp.gmail.com"; int port = 587; String username = "avdhoot.patel@gmail.com"; String password = "password"; Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.starttls.enable", "true"); …

Member Avatar for kvprajapati
0
3K
Member Avatar for fidolas7

i just store session in my register page for use it in different files when someone get registration but i dont know y in other pages when i try to call my session,i get error that the variable are undefined. my code at register.php [CODE] <?php $con = mysql_connect("localhost","root",""); if …

Member Avatar for tcatt
-1
95
Member Avatar for samsons17

hi i'm working on codeigniter for now.and i got some problem with the user login system. basically user can login using his/her email address, and then the login system will retrieve the user corresponding "username" base on the email address entered.This username will then be stored as session and will …

Member Avatar for kurtopia
0
2K
Member Avatar for joeyxaza

hi all, i am new to perl and i am trying to design a web form (login, registration, user profile, session, cookie, mysql database connection, etc) using perl. is there any place where i can get a good tutorial on the above, or is there any existing code i can …

Member Avatar for jon.kiparsky
0
125
Member Avatar for shyla

This assignment was due, but i am still struggling with it. I can't show the details correctly its running and everything but still nothing This ex needs to be in GUI there is a picture attached that shows the console version The tiny tots tee-ball league has 12 players who …

0
48
Member Avatar for zack_falcon

Okay, so I'm doing an e-commerce website for my school project. Basic run down of the cycle is that the user logs in, views items, adds the items that he likes to his shopping cart, and checks out the items at the shopping cart. Now, for the the add to …

Member Avatar for zack_falcon
0
97
Member Avatar for mayursharma

Hello , I am new to jsp as well to wml too .. Problem is with Session variable . the page on which session variable are made , they are extracting on that page easily .... but on other pages ...they contain null values ...i am not able to get …

Member Avatar for mayursharma
0
740
Member Avatar for indr

hi, i opened two mysql sessions(A,B) and set the autocommit variable to 0 for both the sessions. by giving "set autocommit=0" then in session A i added a row to my table by calling a stored procedure and i tried doing the same in session B also.. but in session …

Member Avatar for indr
0
206
Member Avatar for gazzy1

I have create a table as "user" with colm user pass redirect and add the three user as: user : Pass : Redirect a123 123 google.com b123 123 hotmail.com c123 123 facebook.com i have also create a php page with login session but i want that when i entered the …

Member Avatar for dietdew12z
0
98
Member Avatar for krishnisilva

hi, i have a two datetime picker in a C# form, when i select a earlier date (before today date) there is a caparison i have addded to the validateing event in the date timepicker.below is the code. Question 1: for some reason say that i add 10th may, the …

Member Avatar for kheddy
0
2K
Member Avatar for joban.ali

Hi, All I would like my user to click on My Account link, with the help of some PHP magic i would like to determine which access level a user has and direct them accordingly to the right my account page. In total I have 3 types of users outlined …

Member Avatar for kekkaishi
0
208
Member Avatar for harinath_2007

hey. i want to send a mail from my java application. the code below works fine except that it results in authentication error in runtime.. here is the code.. import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.Message.RecipientType; import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class SendMail …

Member Avatar for mKorbel
0
250
Member Avatar for aaraf

hello I just started using headers and I have few problems that I don't know why and how to fix them I'am trying to set authentication for 6 users each one of them can't access his account unless the admin is logged in else they have an error message but …

Member Avatar for aaraf
0
107
Member Avatar for TheSassyDragon

Im starting to make a social network using all php, and I have a class that starts the session in the constructor, with session_start(); and tests if they are logged in. if at the end of that file I call the constructor... $session= new Session();... wouldn't that automatically start the …

Member Avatar for tinymark
0
150
Member Avatar for Buffalo101

Hello, I need to bypass the administrator password on a Vista PC: disable it/reset it. Additional problems: This must be done in the same session, as the machines have Deep Freeze. This also means I can't boot other OS. What could work is booting off a cd/dvd/usb, getting the password …

Member Avatar for caperjack
0
464
Member Avatar for webdesign4me

I am creating a client account management area on my site (check balance, pay your bill, print/save our contract, check progress, upload files/content, write messages to one another.. I have just about everything going smoothly (thanks entirely to a lot of info and help here @ DaniWeb).. One issue I …

Member Avatar for Jiwe
0
153

The End.