[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x

Web Applications

14K

Solutions

14K

Contributors

Web applications are systems that run in browsers that perform functions normally associated with other client-based programs. One of the most commonly used web applications is email; instead of downloading individual emails to a local machine, the data is shown through a website. Other examples of web applications are collaborative systems like a wiki or an online game.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have code that takes a nvarchar(max) value to run a SP.
If I run the SP directly on SSMS it works fine, the SP does the job. But using ASP Classic code to pass the parameter which is a very long XML string to the SP is giving errors saying the data is getting truncated. Here is the code we currently have:

set sp_usp_xmlparse = Server.CreateObject("ADODB.Command")
    sp_usp_xmlparse.ActiveConnection = MM_bluedot_STRING
    sp_usp_xmlparse.CommandText = "dbo.usp_XMLParse"
    sp_usp_xmlparse.CommandType = 4
    sp_usp_xmlparse.CommandTimeout = 0
    sp_usp_xmlparse.Prepared = true
    sp_usp_xmlparse.Parameters.Append sp_usp_xmlparse.CreateParameter("@RETURN_VALUE", 3, 4)
    sp_usp_xmlparse.Parameters.Append sp_usp_xmlparse.CreateParameter("@blob", 200, 1, -1, qnrBlobXML)
    sp_usp_xmlparse.Parameters.Append sp_usp_xmlparse.CreateParameter("@UserID", 3, 1, -1, UpdateStatus__MMColParam)
    sp_usp_xmlparse.Parameters.Append sp_usp_xmlparse.CreateParameter("@FirmID", 3, 1, -1, UpdateStatus__MMColParam2)
    sp_usp_xmlparse.Execute()

Open in new window


Any ideas what could be wrong?
0
Vote for the Most Valuable Expert
LVL 7
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

I am migrating two windows 2008 VMs (crystal server) and two RHEL 5.8 VMs (oracle servers)
from current production server to a new larger physical server.

They assigned temp IPs for the migrated machines until testing is completed.

The issue is that I need to test web applications on the new machines
and I cant migrate the current domain name and SSL certificate to the new ones.

1) Do you know how can I set a temporary test domain and set it up in DNS for testing?
Do I need to buy SSL certificates and domain for testing?

2) Would I be able to migrate the current production SSL certificates and domain name
to new machines when we go live or I need to create a new CSR on new machine and resend to certificate authority for regeneration? the machine names are different from old to new machine.
0
I have the code, where I load data from a csv file and the data is obtained by using D3 nest.

The code I wrote is:
 d3.csv("data/data2.csv", function(data1) {      

                  var workStation = 
                                {"key":"Data","values":
                                d3.nest()
                                .key(function(d) { return d.WorkStation_Id; })
                                .key(function(d) { return d.Order_Id; })
                                .rollup(function(v) {
                                    return v.map(function(c){
                                        return { "actualStart": convertscheduledtime(c.ScheduledTime),"rowHeight": 30, "actualEnd":c.Duration*1000+convertscheduledtime(c.ScheduledTime), "name":c.Order_Id};
                                    });
                                }).entries(data1)};

                var d2= [{"name":"Data", "children":workStation.values.map( function(major){  
                        return {
                            "name": major.key,
                            "children":major.values.map( function(Order_Id){
                                return{
                                    "name" : Order_Id.key,
                                    "actualStart" : Order_Id.values.actualStart,
                                    "actualEnd" : Order_Id.values.actualEnd
                                };
                            })
                            };
                 

Open in new window

0
hi,

what are differences between
unit test vs integration test vs system test vs acceptance tests
please advise
0
Is there any good examples to explain how should we build the data pulling section in mobile app development? I heard about the word asynchronous often but what is it actually?

I need something that explain the concept rather than pure programming examples (but good to know if it's also provided)

Any clues?

Thank you.
0
I developed some software which processes ACH payments. I am concerned about the overall security of ACH because the customer can make changes to the account (acct #, routing etc.). I was wondering if someone could share some guidance on the best way for a company like mine to protect itself from financial liability.

I have considered enhanced auditing, time delays for changes and two-factor for changes. Consider the use case of a small shop where there are only one or two people at the company. We also process for large companies. Just trying to cover the bases and show due care. What works best to cover my company and my customer from fraud as well?
0
I am looking for an Android App to scan barcodes which will place the decoded barcode text in a web page text box as if the code had been entered by the keypad (The web page having currently being displayed).

Alternatively, the App could be configured to launch a web site request with a parameter being the barcode scanned. This is NOT for looking up products/reviews on line.

For example, if the app scans a barcode  CD1234, the app could be configured to execute the following command :

http://10.41.23.3/query?label=CD1234



Thanks,

Roger
0
I'm looking for a list of pre PT Questionnaire, for an application based penetration test.
Thank you in advance,
Danny
0
I am looking for GOOD QUALITY Mind Map tools which are CHEAP or free, :
1) Technical idea.
2) Business idea
3) Flow Chart
4) School Study topics
0
RT Version 3.8.7
All tickets are being submitted to the 'General' queue.
They are submitted via email and on creation the Owner is set to 'Nobody in Particular'

Is there a way to configure RT so it assigns tickets based on email address? We have 5 people in this queue.
If person1@domain.com sends an email to RT , RT should auto assign the created ticket to person1.
Same with person2, person3, etc.

I found the suggestion of creating this scrip: https://rt-wiki.bestpractical.com/wiki/AutoSetOwnerForQueue
I entered this in my RT:
my $MyUser = "bob";

my $QueueName = "general";
my $Sender = "bob@domain.com";
return 1 unless $self->TicketObj->QueueObj->Name eq $QueueName;
my $Actor = $self->TransactionObj->Creator;
return 1 if $Actor == $RT::SystemUser->id;
return 1 unless $self->TicketObj->Owner == $RT::Nobody->id;
return 1 unless $self->TransactionObj->CreatorObj->Name() =~ /$Sender/;
$RT::Logger->info("Auto assigning ticket #". $self->TicketObj->id ." to user $MyUser" );
my ($status, $msg) = $self->TicketObj->SetOwner( $MyUser );
unless( $status ) {
  $RT::Logger->warning("Impossible to assign the ticket to $MyUser: $msg");
  return undef;
}
1;

Open in new window



I put all this code under 'Custom Action Cleanup Code'

The other settings in the scrip are:

Description:      
AutoAssignOwner - Bob
Condition: On Create
Action:          User Defined
Template:   Global Template:Blank
Stage:            Transaction Create
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hello  

   i have asp.net WEB API. i want to return application specific error codes from asp.net web api based on business rules.
Apart from standard error codes: like 201,204,404,400, 500.
My response structure is :
{
    "error": {
        "errorCode": 0,
        "message": null,
        "details": null
    },
    "result": {
        "name": "3285",
        "type": "hgfhgh",
        "code": "00042"
       
       
    }
}

In case if no errors, result will be populated and error object will be null.   if there are any errors, result object will be null and error object will be   populated with error code,error description etc..

Apart from standard HTTP errors, i want to return application specific error codes with description based on the business rules.
How can i achieve this

Thanks,
0
I have a web forms project that I am trying to imported into a web application project. I have a custom gridview class that I can't get to work. I have the class define under App_Code.

Namespace Alliance.Controls
    Public Class Gridview
        Inherits System.Web.UI.WebControls.GridView
    End Class
End Namespace

Open in new window


the web.config:
<pages>
<controls>
<add tagPrefix="Alliance" namespace="Alliance.Controls"/>
</controls>
</pages>

Open in new window


aspx file:
<Alliance:Gridview ID="allianceGridview" runat="server"></Alliance:Gridview>

Open in new window


The intellisense works fine on a aspx page. The problem is the designer.vb file has a compile error 'Type Global.Alliance.Controls.Gridview is not defined'

If I change the line:

Protected WithEvents allianceGridview As Global.Alliance.Controls.Gridview

to

Protected WithEvents allianceGridview As Global.myapp.Alliance.Controls.Gridview

The compile error goes away but the aspx page will have a parser error: The base class includes the field 'allianceGridview', but its type (myapp.Alliance.Controls.Gridview) is not compatible with the type of control (Alliance.Controls.Gridview).
0
hello experts,

I have a prestashop website and would like to do some php security test through online audit checking website, can you tell me if you know some websites that perform this kind of online checking?

-I have the admin page and I want to make sure nobody access it or know the URL to it, I was thinking about a solution here and would like to know your opinion: I was thinking if I get a static VPN IP address, then my admin URL does not accept any incoming connection unless from the one with my VPN IP address and was wondering to put that in the htaccess, my question here: is this the best practice to protect that admin backend page? What is the effective way in your opinion?

-The other thing is, how can I test my e-commerce website against SQL injection?

By the way, I'm using Cloudways vps server, the database must be accessed through a different address and I suspect you can't access it even with credentials to the server, also this server requires something some permission reset that is available only through the cloudways server account manager, just wondering if that also helps somehow.

thank you
0
Hi,

i wrote my web application with web.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://xmlns.jcp.org/xml/ns/javaee"
	xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
	id="WebApp_ID" version="3.1">
<welcome-file-list>
    <welcome-file>simple.jsp</welcome-file>
</welcome-file-list>
	<security-constraint>
		<web-resource-collection>
			<web-resource-name>MyResources</web-resource-name>
			<url-pattern>/*</url-pattern>
		</web-resource-collection>
		<auth-constraint>
			<role-name>myuserrole</role-name>
		</auth-constraint>
	</security-constraint>
	<login-config>
		<auth-method>BASIC</auth-method>
		<realm-name>FILE</realm-name>
	<!-- 	<form-login-config>
			<form-login-page>/login.jsp</form-login-page>
			<form-error-page>/error.jsp</form-error-page>
		</form-login-config> -->
	</login-config>
</web-app>

Open in new window


i added role and username and password to tomcat-users.xml as below

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the 

Open in new window

0
I have a Lex Bot with 3 slots. The user will provide the Lex bot with first name, last name, and birthdate. The user can also fill multiple slots at once, such as 'My name is Steve Jobs.' I'd like the bot to repeat back the users name (or first name, or last name or DOB depending on what was said) before asking the next question. ie -'Thank you, your name is Steve Jobs. May I please have your birthdate'

I figure I need to use the elicitslot dialog action in my lambda function. However, I'm not sure exactly how I can do this. I think I need to figure out someway of keeping track of which slot was just filled. Is there a good way to do that?
0
I work for a organization with a large website. I have been asked to provide the following stats from 2016 about the website:

  • total number of web pages on our website
  • total number of page linked to a newsletter

Regarding bullet number two: A friend suggested that I use Campaigns to track pages being linked to newsletters, which I assume would mean creating a different campaign for every newsletter link. I can do that going forward in 2018, but that doesn't help me find the stats for 2016.


Can I retrieve the 2016 stats for both bullets from GA and how would I do so? If it can not be retrieved from GA, please offer suggestions on how I may find this information.
0
Is there any way to test an app on all devices without purchasing all devices?
0
I have a grid view in which I am using emptydatatemplate.  I am trying to use gridview.rowcommand to get data from textboxes in the empty data row.  The code behind (vb.net) gives me nothing when using FindControl to get the text from the text boxes in the gridview control.  Can anyone help PLEASE?  Below is my code:

<EmptyDataTemplate>
                <%--<asp:Table ID="EmptyDataTbl" runat="server" Visible="true">--%>
                    <asp:TableRow ID="TableRow6" runat="server" Width="100%">
                        <asp:TableCell ID="TableCell1" runat="server" Width="100%" ColumnSpan="16" HorizontalAlign="Left">
                            <asp:Label runat="server" ID="lblNoData" Text="No Data Available">
                            </asp:Label>
                        </asp:TableCell>
                    </asp:TableRow>
                    <asp:TableRow runat="server" Width="100%" BackColor="#FFB0C4DE" Height="28" ID="AddPtDtlTblRw">
                        <asp:TableCell ID="EmptyNameCell" runat="server" HorizontalAlign="Center" CssClass="VerticalGridlines" Width="5%">
                            <asp:LinkButton ID="EmptyNameBtn" runat="server" Text="Insert Detail" Font-Underline="True"
                                BorderStyle="None" BackColor="Transparent" CausesValidation="False" ForeColor="#003366"
                                CommandName="EmptyInsert" />
                        </asp:TableCell>
                        <asp:TableCell …
0
The problem i am having in alignment of input and select fields. html and css code is attached. I am having hard time for resolving this as i am beginner in css learning.

Select fields for choosing time       from    [hour] [minutes]              to     [hour][minutes]  should be easily understood by user. right now it is not so.
Page is divided into two parts  - > left and right side.  left side's width is 60% and right side's is 40 %.

Form is in the left side. (which is to be consider)
select.php
capture18.PNG
0
Hire Technology Freelancers with Gigs
LVL 11
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Does anyone know how to use iframes with authorize.net. I have a website that has an iframe for payments. The problem is that when i press countinue it stays in the iframe. i want the iframe to close and but in the main web browser tab. i am using asp.net with c#
0
Hi,

I am travelling in main land china and naturally sites like google and YouTube etc are blocked.

I am thinking about getting one of the iOS vpn apps.

My concern is it monitoring my internet data in regards to passwords I type the mail app etc.

What I am thinking is if those programs do the encryption themselves I will be safe and this can't be attacked. SSL sites will be safe.

Are my assumptions correct? Are there any risks at all?

Thanks

Ward
0
Hi All,

I have a SharePoint 2010 farm with multiple web applications. In the last couple of weeks, one of the web applications has not been showing picture files uploaded to it..

when a file is uploaded to a library in the affected web app, for a couple of seconds all is fine, the picture opens but on a second view seconds later, I get a white cross/black box (see image 1). If I try to open the same file from the explorer view, I get an error (image 2). But if I choose to download a copy of the same image. it works.

There are no workflows running on the documents and this is not affecting image files uploaded to the web app prior to about 2 weeks ago.  but as I stated, it's only affecting 1 web app in the farm.

Any help in fixing this issue would be most welcomed.

James
Image-1.JPG
Image-2.JPG
0
Hello,

I am trying to delete the Search Service application of a SharePoint 2010 farm.

I tried via CA but nothing was happening after 25 minutes so I closed.

I tried via Powershell, same issue, except that the service app proxy line disappeared. But it seems crawling is still running. So now trying with the following stsadm command :

Set-Location -Path 'C:\Program Files\Common files\Microsoft Shared\Web Server Extensions\14' STSADM.EXE -o deleteconfigurationobject -id GUID[/code]

Nothing happened...

But I noticed each time I try to delete the service app I got those event ids :

The Execute method of job definition Microsoft.Office.Web.Environment.Sharepoint.CacheCreationJob (ID GUID) threw an exception. More information is included below. Access to this Web site has been blocked. event ID : 6398
I added full control to C:\Windows\Tasks to the SharePoint admin

Another thing I tried :

Stop the “SharePoint 2010 Timer” service.
Delete all the XML files in the config cache. There are loads of XML files that can be found in the folder “C:\ProgramData\Microsoft\SharePoint\Config\”.
Edit the “cache.ini” file in the same folder that contained the XML files, setting the content to “1″ (without the double-quotes). This indicates that all cache settings need to be refreshed. Eventually this value gets automatically updated to another number when the cache is repopulated.
Start the “SharePoint 2010 Timer” service.
Remove-SPServiceApplication -Identity GUID

Open in new window

0
Hi,
I am working on the Cordova based Window application.
My requirement is to integrate Auto detect OTP from SMS . Once the user will get the SMS, our application should automatically detect the number (OTP) from the same and fill into the App control(TextBox). For the same I didn't get any specific Cordova/Jquery Plugin.

Please share suggestions.
0
Is it possible to setup a google extended oauth2 connection with a non-super-admin credential?
0

Web Applications

14K

Solutions

14K

Contributors

Web applications are systems that run in browsers that perform functions normally associated with other client-based programs. One of the most commonly used web applications is email; instead of downloading individual emails to a local machine, the data is shown through a website. Other examples of web applications are collaborative systems like a wiki or an online game.