4,124 Topics
![]() | |
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" … ![]() | |
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 … | |
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 … | |
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 … | |
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. | |
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> … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
[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) … | |
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'])) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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' => … | |
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 … | |
<?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 … ![]() | |
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 … | |
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 … | |
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 … | |
what is the role of session and why do we need session in asp.net please ellaborate | |
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 … ![]() | |
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 , … | |
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 … | |
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 … | |
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 … | |
[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# … | |
<?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 … | |
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 … | |
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 … | |
[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"); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.