[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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

Hello

I am trying to connect Zapier on an MS SQL 2014 instance I am running on one of our servers.

I can connect fine using heidisql.

When connecting from Zapier I get an authentication error:

(pyodbc.ProgrammingError) ('42000', "[42000] [unixODBC][FreeTDS][SQL Server]Login failed for user 'someuser'. (18456) (SQLDriverConnect)")

Open in new window


So this means that the network connexion itself is working but somehow their Python based connector doesn't manage to authenticate.

We used mixed mode authentication on said sever and I have tried both SQL user and domain user to no avail... Using a complex password as per their suggestions.

Any suggestion / info most welcome (as their support is not too helpful on this one).
0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

I have Elasticsearch 6.4.3 and Kibana 6.4.3 installed on Debian 8 Jessie.

I've looked into X-Pack and Shield, which both seem to be mostly concerned with security within Elasticsearch, and how to control security BETWEEN Elasticsearch and Kibana.

I don't really need security on the backend between Kibana and ES. However we would like the Kibana web page to be world accessible with a login page.

Is it possible to implement ONLY a login page for the Kibana site?
0
Trying to demonstrate a web worker API to my Web Development students and I wanted to make the process of changing a color image to grayscale in the worker. I know it doesn't take much processing but I'm just using it as an example. I have the grayscale working fine when it's not separated out into a websworker ( jvalencia.ceiwd.com/contoso/badge1.html ) but when I put the code into a webworker the progress bar works but the grayscale image doesn't work--the color image is loaded. ( jvalencia.ceiwd.com/contoso/badge.html )  What am I missing?

WORKING (With no Web Worker):

function showImage(file) {
      reader = new FileReader();
      reader.onload = function (event) {
            console.log(event.target)


            
            if (holder.getContext !== undefined) {
                  var context = holder.getContext('2d');
                  var destX = 0;
                  var destY = 0;
                  var imageObj = new Image();
                  
                  imageObj.onload = function() {
                        context.drawImage(imageObj, destX, destY, holder.width, holder.height);


                        var imgData = context.getImageData(0, 0, holder.width, holder.height); //get image from badge
                        var pixels = imgData.data
                        console.log(pixels);

                        for (var i = 0, n = pixels.length; i < n; i += 4) {
                            var grayscale = pixels[i] * .3 + pixels[i+1] * .59 + pixels[i+2] * .11;
                            pixels[i  ] = grayscale;        // red
                                 pixels[i+1] = grayscale;        // green
                            pixels[i+2] = grayscale;        // blue
                            //pixels[i+3]              is alpha

                            var…
0
Hi,
I have a Table called game with 4 columns:
clock_first_goal, clock_last_goal, clock_first_penalty, clock_last_penalty

and a second Table called tickets_one with 5 columns:
clock_one, clock_two, clock_three, clock_four, clock_five
where I've imported random clock times between 0 and 20:00 minutes that of a NHL period.
There are 1200 total times (60 seconds x 20 minutes) in 5 columns so there are 240 records in this Table.

In my application I have a page called enter_games.php. What I want is when the admin submits the times for First Goal, Last Goal, First Penalty and Last Penalty, I want to check if any of these values match the values in the tickets_one Table. If they do I just want to echo "we have a match!", if not I want to echo "no match".

I'm not sure the best way to do this if it should be a Join, if statement or loop etc... I think it can be done with an if statement.
I'm somewhat new to php and mysql. This is the section of the code I'm trying to get to work:

// find matching results
// query the database with client ID
$query = "SELECT * FROM tickets_one";
$result = mysqli_query( $conn, $query );

// if result is returned
if( mysqli_num_rows($result) > 0 ) {

    // we have data!
    // set some variables
    while( $row = mysqli_fetch_assoc($result) ) {
        $time1    = $row['time_one'];
        $time2    = $row['time_two'];
        $time3    = $row['time_three'];
        $time4    = $row['time_four'];
        $time5    = 

Open in new window

0
we are looking for 800 phone no with api. meaning when someone call 800 phone no. we want api to be called immedately to www.myweb.com/phone no
then redirect to 310.222.2222

do you know which provider can. do it? just like something out of the box without too much coding involved
0
Dear experts

Our company would like to setup open source OT management system that allows us to do following:

1. When employ wants to do OT, Start time must be submitted first and then it will only be reflected to system once administrator approved.
2. Later when employee finish job, he or she can set the end time, and there should be something that allows emplyee to upload service report that contains start and end time signed by our customers.
3. After setting end time, it should show total OT - hours and we should be able to generate monthly OT for each employee.

Plz advise something that is opensource or even if need to pay, it should be something not very expensive.
0
https://www.michalsons.com/blog/what-is-a-national-critical-information-infrastructure/17701
https://publicwiki-01.fraunhofer.de/CIPedia/index.php/Critical_Information_Infrastructure

I have to draft a guideline for systems that interface with a CII system & need inputs:
currently, the interfaces concerned are limited to 3 types only:

1. files transfer
============
I can only think that the generally practices ie:
 a) encryption of data in transit (eg: using sftp instead of ftp/mapping a drive or NFS)
 b) encryption of data at rest if it's sensitive (tampered with)

2. API
=====
how do we secure these (in particular APIs using microServices)??
I've heard of API needs to be certified so before requesting for it, need to be certain
else applications developers may question its relevance/usefulness

3. DBLink
========
Those sqlconnect  esp Oracle links to extract / update data.
Will need to define if the non-CII system is
   a) updating into CII, will have to be extra stringent but how?
   b) extracting from CII, just encrypting the sql calls
 

Oracle databases, weblogic are involved in the critical systems
while the less-critical systems may be Windows, Linux on
various apps (including mobile apps).

Editing thread to add Oracle as it relates to DBLink.
0
Hi,
I'd like to find matching results between 4 columns in one table and 5 columns in another table.
I have one table called game with 4 columns:
clock_first_goal, clock_last_goal, clock_first_penalty, clock_last_penalty

and a table called participants with 5 columns:
clock_one, clock_two, clock_three, clock_four, clock_five

Everything in these columns are numbers like 4:16, 8:47, 13:02 etc clock times of a period of an NHL hockey game. I think I should be using an Inner Join for this however, it's not working, it's just displaying all of the times in the database instead of just the matching results within those columns.

Please take a look at the screen shot attached to see what I mean.

Here is the code I have so far:


$query = "SELECT * FROM participants AS p INNER JOIN game AS a ON p.game_date = a.game_date WHERE a.user_ID='$userID'";

 

$result = mysqli_query( $conn, $query );

 

                    ?>

                                                               

                                                                                <?php

                                                                                if( mysqli_num_rows($result) > 0 ) {

 

                                                                                                // we have data!

                                                                                                // output the data

 

                                             

Open in new window

0
We have setup a Windows 2012R2 RDS with Web apps. When we publish the apps they are not showing up in the work place. In the properties of the published app the Remote App program folder has nothing in the drop down menu. I have removed the Collection and created a new one with the same results. Any suggestions on resolving this issue would be greatly appreciated. TIA
0
I migrated my sisters website yesterday and for some reason the homepage is showing as hostpapa and not the actual homepage of the website which I have moved to hostgator

http://www.lindalouisehill.co.uk

However, I can login to the admin here - http://www.lindalouisehill.co.uk/wp-login.php

And I can go to all other individual pages such as this one - http://www.lindalouisehill.co.uk/about-linda

I am concerned this page has been lost completely as i've gone back into file manager and the hostpapa one is in every copy and backup I have but something does not make sense as I go to an old backup from March and its there too but the homepage has not been like that since March.
0
Introduction to R
LVL 12
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

I am getting frequently below err message  while watching videos.
The browser I am using is Chrome.

Error Code
: PLAYER_ERR_TIMEOUT

please advise how to fix this issue.
0
i have multiple ms accounts and I always use visual studio community 2015 IDE as well as TFS Online.
My issue is: sometime MS Visual Studio keeps remember my first ms account for e.g. client A. When I try to sign out and sign in another MS account for client B - TFS online
It does not allow me to connect client B - TFS online. Seem like the cache issue but have no idea how to fix it
0
I am using visual studio 2010 for a  web application with gridview populated by dataview source of which is a datatable.
One of the fields diffimt is numeric field defined as follows:
 DataColumn diffimt = new DataColumn("diffimt", typeof(int));
I wanted the dataview and hence the gridview to be sorted in the ascending order of the field
dView.Sort = "diffimt ASC";
After the sort command, gridview is source to dataview and then databound with the following commands
dView.Sort = "diffimt ASC";

                GridViewVa.DataSource = dView;
               GridViewVa.DataBind();

But it is sorting as if it is a text field.  Screeshot is depicted in the attached file.  As for my requirement, the sorting should be
12,13,102,102,107…….. Not 102,102, 107 …
Can anyone help in fixing the problem
20181020_GridView_Screenshot.jpg
0
I manage a bunch of websites that mostly use Coldfusion. Each website is located in its own directory on the server and they all use the same version of the code and they each have their own database. I am trying to figure out what is the best way to update all of the sites when I make a change to the code. Right now I have created a directory on the server that contains the changed files and then I use directoryCopy to copy over the new files. My code looks something like the following:
<cfset temp = directoryCopy("_UpgradeCode","website_to_update_directory/",true,"*.*")>

Open in new window


One issue that I have is that I don't know if there were any problems copying over the code.

Can anyone suggest a better way to update websites? I am hoping that this can be done in an automated way so that I can just call a function or something and then it automatically updates all of the sites. I have created a list of sites to update that can be passed to the function.

Thank you for any help that you can provide about this.
0
My Tomcat web application logs are telling me the user1 isn't in the specified mapped LDAP role/group coming from AD. I believe my issues lie with the JNDI Realm definition. Can someone review it please and see where I may be going wrong, I've included the DN information from AD as well:

My user1 account DN is

DistinguishedName : CN=user1,OU=Users,OU=Lab,DC=example,DC=com

Open in new window


The role/group Users I have specified in the web.xml config is

DistinguishedName : CN=Users,CN=Builtin,DC=example,DC=com

Open in new window


My Realm configuration is

<Realm
   className="org.apache.catalina.realm.JNDIRealm"
   debug="99"
   connectionURL="ldap://example.com:389"
   authentication="simple"
   referrals="follow"
   connectionName="cn=administrator,cn=users,dc=example,dc=com"
   connectionPassword="##########"
   userSearch="(sAMAccountName={0})"
   userBase="cn=users,dc=example,dc=com"
   userSubtree="true"
   userRoleName="memberOf"
   roleSearch="(member={0})"
   roleName="cn"
   roleSubtree="true"
   roleBase="cn=users,cn=builtin,dc=example,dc=com"/>

Open in new window

0
I need to change a gridview datasource/connectionstring based on session parameter/login.

Just a little background, we have an in-house software that generates an .mdb database file and then uploads it to our hosted database-driven website via FTP. Each of our customers get their own .mdb file and a login to the website. The website is designed to show only their assigned .mdb. But the website has limited capabilities.

So I was tasked to update the website and found out that it uses .asp, but I am not well versed in VB script and found that creating an .aspx web application is easier.

Now I'm developing a web application in Visual Studio that utilizes the same database but with added features such as sorting, paging, and filtering based on keyword searches.

I've finished creating the login part (with sessions), and I've been able to create a page that displays data on a gridview. My problem now is that I don't really know how to change the gridview datasource based on login/session.

By the way, the database for login information is also an .mdb and is also uploaded by our in-house software. If we need to add new users, we use the in-house software to update the .mdb and then upload it to the website. There are 3 columns in the database table, username, password, and client code. I would like to use the client code to pull the correct database file because each of the database files contain a specific client code already.

Please assist. Thanks!
0
Hi,

I went through https://www.callicoder.com/reactive-rest-apis-spring-webflux-reactive-mongo/ and need clarifications on the below

In previous version we have to specify as below to return the output as Json

@RequestMapping(value = "/getString", method = RequestMethod.GET, produces = "application/json")

How to return the response as Json in new Spring 5 ?

In earlier version we can return a stream directly to the browser to process to the front end. either stream or base64 url. How to return a stream in the current spring 5 version

Where i can find out the syntax differences between spring earlier and spring 5 version

Thanks.
0
I am trying to put together some pertinent questions in regards to our corporate website, in terms of technology, hosting, support, roles & responsibilities etc. This is to assist in an independent review of the website by a 3rd party from both accessibility, performance, security etc. Can you suggest some relevant 'fact finding' questions that if you needed to understand the setup of a website, and its hosting, and all the various technology components used to develop and maintain the site. It is not something I have ever had responsibility for, so having some queries in order to get a better understanding would be most useful.
0
I am working to create a login prompt and I do not want the browser to offer the remember username and password option for the user. I am using a text box for the username field and a password box for the password field. Anytime I use a password box the browser prompts the option whether to remember username and password or not. I would like my users to type in those information each time they login. Is there any way I could use a text box to accept password and mask the characters in that textbox as a password character so that the browser does not prompt the remember username and password option?
0
Introduction to Web Design
LVL 12
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

i am looking into account lockout best practice configurations for failed login attempts/brute force. for one of our web applications the administrator has configured locking an account after 10 failed login attempts in a 60 second window. This seems a rather unusual setting based on other recommendations I have read on account lockout. Does anyone have a view if this setting poses a risk in anyway, or if any password attack tools can be configured to work around this setting e.g. a slower approach on how many it attempts each minute, and if so a more suitable suggestion of values?
0
Hi , I need an advise .
Do anybody know , what is the most popular architecture for .Net WEB application?
I mean before 2008 I use
ASP.NET 3.5  + Adjust  Toolkit cl [b]- front end ( view)
Typed DataSet  + Busies Logic CS classes middle tier ( model)
Public generic  cs class injected into Code Behind of every page was responsible  for binding / back binding
ASP.NET controls  to Typed Dataset  ( controles)
Public generic  cs class was responsible  to fill out Typed Datset data from SQL Server ( DAL)
Back end is always was SQL Server
Export / Import of the data was always via WEB Services  or sql jobs  which were run  from the last data received identity  (for performance point)
Right now so many Framework.

Do you   how use them  the most optimal way?
I mean what is the best way  to  implement
1)Most  efficient front end
2) Middle Tier with Business logic
3) Data  Access Layer
4) Data Exchange (Export/ Import) with   different clients
 
Please advice
0
why does experts-exchange.com use tracking cookies?
0
These are the instuctions to download a picture from www.instagram.com

https://www.digitaltrends.com/photography/how-to-download-instagram-photos/

I'm using a normal windows 10 desktop pc.

I tried the instructions from the link above in this section

HOW TO SAVE PHOTOS FROM INSTAGRAM IN WINDOWS AND MACOS

It worked fine using downloadgram except for one thing, it only saves the first picture in the post.

Sometimes an instagram post has more than 1 pictures

To view the other pictures i just click the right arrows that show above the picture.

How do i download the other pictures?
With the method above It only lets me download the first picture.
So if a instagram post has 4 pictures in the post, how do I download the 2nd picture? or all 4 pictures?
0
Hi experts
I need a site or company to create video or flash to present an application on a seminar
Thanks
0
Hi,

I'm looking on expert suggestion. I found several options, but maybe someone will guide me for proper solutions.

I'm building severals web apps, and each apps, need a Help. I don't want spending time building an engine / framework for my help. Do you know an API / System I can integrate with easily with my web apps. Here's my requirements.....

  • Search, I want only to add a search box in my apps and this will call an API to search the "Online" system
  • Easy Interface for Creating Article / Help Page an Editor basically (can be a look and feel like WorkPress)
  • Possibility to add Image, Documents, Large Files (Video)
  • Online / Hosted preferably Offline option can also be consider
  • If possible, Security UserName / Password for users to access the Help (Not mandatory)

Some Ticketing System (ZenDesk, Zoho, ...) offert similar feature but it's not a full framework for help...

Anything exist on the market ?.... an Online Wikipedia with a Search API....

Free or Not, I want to check the options.

Thanks for sharing.
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.