4,124 Topics

Member Avatar for
Member Avatar for ryantroop

Hey all, Im hoping this isnt too out of line to ask - it is genuinely out of a desire to learn and improve, but sadly it is not necessarily code based. I am working on getting "experience" so I can persue a career in programming, either web, platform, or …

Member Avatar for JorgeM
0
252
Member Avatar for crystalpaper

Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\Users\puy\AppData\Local\Temp\temp_30b1c203-656f-4baa-bcf0-1f3973082664 {7558C8AA-A85C-410E-993A-CA4CCADB14E6}.rpt: Unable to connect: incorrect log on parameters Please help me:( using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Data.Common; …

Member Avatar for crystalpaper
0
188
Member Avatar for gurusubramaniam

I want to clear the session in a project. If i have opened an another project in the same browser, that session also cleared. How to clear the session without affecting the other projects?

Member Avatar for rotten69
0
130
Member Avatar for joshmac

Ok, so I finally was able to convert my framework to the PSR-0 standards, but now I am getting errors in the sample application that I have not been getting before. I am not sure why, so I need a fresh pair of eyes. Any help is greatly appreciated. The …

Member Avatar for joshmac
0
215
Member Avatar for gurusubramaniam
Member Avatar for shhh

Fatal error: Class 'XSLTProcessor' not found in C:\xampp\htdocs\easybasket\index.php on line 275 ` <?php /*########################################################################### Easybasket RESTful API Nigel Alderton 21st May 2011 www.easybasket.co.uk ############################################################################# This file exposes a RESTful HTTP interface to the client. It supports the following functionality; HTTP Method: GET Example Response ================= =============== ================================================================== / The Welcome …

Member Avatar for blocblue
0
238
Member Avatar for viktor.jiracek.5

Hello all, I am having problems with this code. Whenever I attempt to test the login system with a valid username and password, it says this: You have successfully logged in! Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php:1) in /Applications/XAMPP/xamppfiles/htdocs/ucairwebsite/facultykadrmas/kadrmaspages/login_1/login_LDDB.php on line 213 …

Member Avatar for puneet bassi
0
273
Member Avatar for natehome

im working on a single player game in java and want to add a high scores table. what im thinking is when a player finishes a session my script will contact my server like this "mywebsite.com/sethighscore.php?secretkey=23234234&user=bob&itemscollected=45&timeplayed=1hour" <-- this would add a new user to database i have very little knowledge …

Member Avatar for veedeoo
0
182
Member Avatar for cali_dotcom

Hi guys, i have an application that seats on a single webserver that depends on a third party application running mssql, so i use mssql over free tds. now i have to scale this site so i have to think about how to handle the sessions. i ma basically looking …

Member Avatar for pritaeas
0
299
Member Avatar for raficomps

> **I want to store session of employee that is employee id when employee login with username and password store employee id as session using vb.net** > **i have a form where employee enter his username and password after entering he must select new form from control panel when he …

Member Avatar for Pgmer
0
201
Member Avatar for webmania_bt

Dear all, I am about to implement a user feedback page, by using the smtp server of my university. When I try to send a form, an error message is received as below: [COLOR="Red"]Could not connect to SMTP host: smtp-auth.bris.ac.uk, port: 587[/COLOR] I tested with telnet this smtp address, along …

Member Avatar for kinthada
0
880
Member Avatar for weirdCreature7

Please help im a super beginner in php and I am doing this for my homework :) I just want to add a code that will Deny Access if password is wrong 3 times and the code for my alert box which is the Incorrect username and password is not …

Member Avatar for devianleong
0
300
Member Avatar for Singlem

Hi I have a problem with on of my sites and need some help. I have a site that uses cookies store a UserID that is used in that session. Recently I added that a user can have diffrent profiles so I craeted a ProfileID can user in stead of …

Member Avatar for hericles
0
75
Member Avatar for SagarSe7en

Hello Users, I have been learning the Prepared Statements in Java which is a newer and better way of entering details into the Database. Have been getting problems with the insertion: NullPointerException and still don't know where I am going wrong. Please Assist me in Solving the Issue. Code Below: …

Member Avatar for SagarSe7en
0
389
Member Avatar for BadManSam

Hi, I want to have my Short Register Form's content go to the main registration page. So like I type some information into a short register form like username and email but when I click the submit button I get transfered to another page which already has the information entered …

Member Avatar for Travus
0
180
Member Avatar for SagarSe7en

Hello Friends. It has been a long time since i posted my codes in the DaniWeb Forum. I have a problem which is really preventing me from moving ahead in the Project. My project requires me to develop a small quiz application with a registration functionality. The registration functionality requires …

Member Avatar for SagarSe7en
0
2K
Member Avatar for sganandhsg

Hi All, How can I get previous URL in a page. I need to clear my session/Cookies when the previous URL is not mine. In the below example assume gmail is an my own website(URL/Application) 1. Go to www.gmail.com login and arrives at inbox page 2. while it is still …

Member Avatar for atinobrian
0
105
Member Avatar for dilbert_here00

Hi, I was trying to access some functions from a dll using python ctypes, but not sure how to pass pointers to get it to work. Here is an example of what i am trying to call: GetAvailableDevices ( SdkHandle session, DeviceDetail * pDev_list, uint32_t * dev_list_size ) Parameters: [in] …

Member Avatar for dilbert_here00
0
3K
Member Avatar for NZSnowMan

I have searched everywhere for this, but I'm really not certain we would all describe the symptoms the same way. It is most bizarre. I set a random hash string (doesn't mater how - I don't believe - but I will post code below), store it in a hidden form …

Member Avatar for Melarlo
0
258
Member Avatar for abathurst

So I'm uploading multiple images to a folder and inserting the images information to a database. The upload and insert is working great but the loop is running twice for each file and adding the information into the databse twice. I am unsure as to why this is happening. Please …

Member Avatar for chunkbar
0
313
Member Avatar for anand01

Hi I am new to hibernate when run the following code it shows mapping exception how can correct couuld any one guide me may main class UserDetails userDetails = new UserDetails(); userDetails.setUserId(1); userDetails.setUserName("Anand"); SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); Session session = sessionFactory.openSession(); session.beginTransaction(); session.save(userDetails); session.getTransaction().commit(); My hibernate.cfg.xml file <session-factory> <property …

Member Avatar for anand01
0
106
Member Avatar for sharath_137

hi all, wat is session in c++. when do we want to create a session. regards, Sharath.

Member Avatar for sharath_137
0
93
Member Avatar for ppstyle

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" SelectCommand="SELECT [EmailID], [Password],[CnPassword] FROM [Registration] WHERE [EmailID] = @EmailID" UpdateCommand="UPDATE [Registration] SET [Password] = @password WHERE [EmailID] = @EmailID"> <SelectParameters> <asp:SessionParameter Name="EmailID" SessionField="User" /> </SelectParameters> <UpdateParameters> <asp:ControlParameter ControlID="txtnewpass" Name="password" PropertyName="Text" Type="String" /> <asp:Parameter Name="EmailID" /> </UpdateParameters> </asp:SqlDataSource> protected void BtnChangePass_Click(object sender, EventArgs e) { …

Member Avatar for hericles
0
213
Member Avatar for Goomba79

Hello, I have a few charts on my web form. they ar eall working apart from one! my code thats populating the cart is as follows Protected Sub ddlUserBm_SelectedIndexChanged(sender As Object, e As System.EventArgs) Handles ddlUserBm.SelectedIndexChanged Dim USerBM As String = ddlUserBm.SelectedValue con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = ../SR.mdb" sql = …

0
64
Member Avatar for M.Waqas Aslam

Hello ! i am working on a simple asp.net project , i have two forms , frmlogin.aspx and frmmain.aspx , i want to redirect my frmlogin.aspx when my session is expired. i already added global.asax. i used all these codes at the session end event of it , HttpContent.Current.Response.Redirect("frmlogin.aspx"); Server.Transfer("frmlogin.aspx"); …

Member Avatar for M.Waqas Aslam
0
124
Member Avatar for BadManSam

Hi, I have a login system this is the code <table> <tr><td> <?php /** * User has already logged in, so display relavent links, including * a link to the admin center if the user is an administrator. */ if($session->logged_in){ echo "<h1>Logged In</h1>"; echo "Welcome <b>$session->username</b>, you are logged in. …

Member Avatar for akmozo
0
123
Member Avatar for ranjit_mahadik

i have created database for our site. but i wanted to know that how can i secure my website using session.

Member Avatar for diafol
0
75
Member Avatar for Djmann1013

Hi. I am having trouble with this script: <?php $host="mysql.host.com"; // Host name $username="username"; // Mysql username $password="password"; // Mysql password $db_name="DB_NAME"; // Database name $tbl_name="table"; // Table name $myusername = $_SESSION['myusername']; // Session on login page, in a variable. // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or …

Member Avatar for diafol
0
158
Member Avatar for Djmann1013

Hi. I am having a problem with PHP. I got these lines of code: <?php include('Include Stuff') ?> <html> <center> <h1>Admin Login.</h1> <form action="(Action Script)" method="POST"> Admin Name: <input type="text" name="name" /><br /> Password: <input type="password" name="code" /><br /> <input type="submit" value="Login" /> </form> </html> And this: (the action script …

Member Avatar for sepp2k
0
229
Member Avatar for Djmann1013

Hi, I am trying to check if a certain username is in a session. This is what I have so far... <?php if ($_SESSION=='Djmann1013') { // Do the work here. } else { // Don't do anything :P } ?> But, when I test this, it does nothing. But when …

Member Avatar for Djmann1013
0
166
Member Avatar for rahul pareek
Member Avatar for code739
0
83
Member Avatar for aki2all

<?php include 'functions.php'; if(!loggedin()) { header("Location: index.html"); exit(); } $session = $_SESSION['empno']; $dbName = mysql_query("SELECT ename FROM employee WHERE empno = '$session'") or die(mysql_error()); $nameResult = mysql_fetch_array($dbName); $name = $nameResult['ename']; $reqno = $_GET['id']; //echo $reqno; exit; $amtApproved = $_GET['amtApproved']; $query = mysql_query("SELECT * FROM requisition WHERE reqno = '$reqno'") or …

0
129
Member Avatar for wiliclip

Hello I am getting this error - even if object database is initialized in class that is in database.php and then included in session.php that gives an error. I've tested the thing in another script jok.php that is bellow and it works there. I've already lost 1 day on this …

Member Avatar for mmnnbbv
0
2K
Member Avatar for treasureireland

Hi, I am trying to display certain content to certain mobile devices, specifically displaying alternative content to iphone's as they cant play flash. I am currently using the detectmobilebrowsers.com JSP code, to redirect my site from the full version to the mobile site, the code is as follows: <% String …

0
105
Member Avatar for Buppy

Hi, I have this situation - an user clicks a link in my site. That link sets a session variable and then redirect the user to another page. That another page then redirects the user back to the previous page, but the previously set session variable is gone. How to …

Member Avatar for diafol
0
178
Member Avatar for MDanz

I've looked everywhere and haven't found a clear step by step tutorial on how to secure sessions/cookies. Here are snippets of my code, i'd like to know how i can improve on session security to prevent fixation/hijacking and cookie safety. This is snippets of code for the user login system. …

Member Avatar for pritaeas
0
302
Member Avatar for SphirosOkelli

I have been working on a linux/unix course. I am an apprentice at a server administration company and part of my homework is related to Xserves and how to use them. I have been stunted in my attempts because I cannot get NX to work. I have a windows 7 …

0
89
Member Avatar for krahuman

i need to create user accounts in windows 7 OS , so that when the user logout from the system all the session files such as desktop , temp files and cookies are get deleted.

Member Avatar for JorgeM
0
166
Member Avatar for mani508

hello i want to display lable value but not show lable value.here my code <asp:Label ID="username" runat="server"><a href="Myaccount.aspx?userid=<%= Session["Id"] %>" style=color:#FF9900 /> </asp:Label> if i remove session["id"] then lable name display but i need session value. like this <asp:Label ID="username" runat="server"><a href="Myaccount.aspx" style=color:#FF9900 /> </asp:Label> this is working fine but …

Member Avatar for mani508
0
93
Member Avatar for richlacey

Hi there guys, not sure if anyone can help me here. I am creating a basic members site with small gallery and I wish to lockdown the URL somehow. e.g. http://domainname.com/memberFiles/8/gallery/gallery_config.php At the moment all of the other pages are locked down via a session id variable, but I need …

Member Avatar for richlacey
0
206
Member Avatar for snitch321

It appears to be happening to a few of our users, whereby they are connecting via terminal services to a server and none of their printers pass over. I have tried the same solutions that i will list now on all users that have this problem: Ensured the RDP icon …

Member Avatar for snitch321
0
138
Member Avatar for anand01

When I run the follwin cod it shows err could any one tell me <%@page import="java.util.ArrayList"%> <%@page import="BeanClass.User"%> <jsp:useBean id="listUser" type="ArrayList<BeanClass.User>" scope="session"/> Its Shows undefined type error thanks in advance

Member Avatar for brynFlew
0
70
Member Avatar for greek_wizard

Good evening, I have a simple problem. I'm making a shopping basket and i want to add some prices for the items but i can not figure out how to pass the value from one page to another in order to view the total ammount of payment in the cart …

Member Avatar for brynFlew
0
1K
Member Avatar for xzero1

i am creating an "wcf" server and "window form application " client side. on server side i am having difficulties writing the bindings, i specified all the details in the code, but not in the xml file, is it necessary to define it in xml file also ? i am …

0
73
Member Avatar for A0110

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { LinkButton dblclkbtn = (LinkButton)e.Row.Cells[0].Controls[0]; string _jsdbl = ClientScript.GetPostBackClientHyperlink(dblclkbtn, ""); e.Row.Attributes["ondblclick"] += _jsdbl; // e.Row.Attributes.Add("ondblclick", "Javascript:__doPostBack('DoubleClick','" + e.Row.RowIndex + "');"); string jsCommand = string.Format("__doPostBack('{0}','Edit${1}')",GridView1.ID, e.Row.RowIndex, GridView1.EditIndex); foreach (TableCell c in e.Row.Cells) { if (c == e.Row.Cells[0]) { } else …

0
127
Member Avatar for happygeek

Thought the days of having to use a particualr web browser client in order to use a specific site were over? Think again if this conversation between a user and eBay support is anything to go by. ![dweb-ebay](/attachments/small/0/dweb-ebay.jpg "align-right") As a journalist who has spent the largest part of the …

Member Avatar for Troy III
4
514
Member Avatar for blackmagic01021

I have a marshalled data packet from the ActiveMQ connection. When I deceive the message my unmarshalling method should unmarshall the message to ite appropriate class object. I have the follwing message in the console of the Eclipse Indego. Exception in thread "ActiveMQ Session Task-87" java.lang.IllegalAccessError: com/sun/xml/bind/v2/runtime/reflect/opt/Const at weathergenerated.IMaritimeWeatherStationInformation$JaxbAccessorF_visibilityDistance.set(FieldAccessor_Integer.java:59) at …

Member Avatar for DavidKroukamp
0
741
Member Avatar for bburd

I connect to my Win 7 computer using an Android remote desktop client. I close the session, and then sit down in front of the Win 7 computer. After doing this, the Win 7 computer is very sluggish. Nothing helps except rebooting. Any idea why this is happening and how …

Member Avatar for bburd
0
213
Member Avatar for adishardis

Hi, I'm sorry if this is answered already but I'm such a newbie at programming that I apperantly can't formulate my problem to find an answer! :-/ Here goes: I have a table filled with data. I want a user to be able to select via a dropdown list what …

Member Avatar for adishardis
0
220
Member Avatar for vijukumar

can any body help me how to create a site with session on when the user login and without session when the guest visit the front page? please pass me the sample code..

Member Avatar for Biiim
0
4K

The End.