4,124 Topics
![]() | |
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 … | |
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; … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
> **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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 … | |
hi all, wat is session in c++. when do we want to create a session. regards, Sharath. | |
<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) { … | |
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 = … | |
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"); … | |
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. … | |
i have created database for our site. but i wanted to know that how can i secure my website using session. ![]() | |
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 … ![]() | |
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 … | |
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 … | |
How to create session in ASP by certain method in Notepad. | |
<?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 … | |
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 … | |
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 … | |
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 … ![]() | |
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. … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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.  As a journalist who has spent the largest part of the … | |
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 … | |
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 … | |
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 … | |
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.. |
The End.