Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

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

Sign up to Post

Does anybody recognize this behaviour?

With the following HTML, I open a new page (the same one) supplying a non-ascii form field parameter with value "Ϩ" (a backword "S", like)
The page itself is marked as "charset=iso-8859-1" so I expect that charset to be used for the request.

With "Form1" the request to the web server contains exactly "Ϩ" (however CGI-quoted: "Field1=%26%231000%3B")
With "Form2" the  request however contains the parameter in UTF-8 format (CGI-quoted: "Field2=%CF%A8")
What would be the cause of this difference?

Do note that in IE11 this behaviour is consistent , but in Chrome (ver 73)  I get the Form2 UTF-8 coding only when the Form2 window does not exist to begin with.
Keeping the opened Form2 window on screen, and then re-submitting from the main page (re-using the already opened Form2 window), then Chrome uses "Ϩ" coding also for Form2.

If I change the meta charset tags to "utf-8", then I (of course) always get UTF-8 coding for both Form1 and Form2.

So... why is UTF-8 used in the request for Form2, even though I state "iso-8859-1" as charset (my http server never specifies a charset in the http headers, so the "meta charset" info is the only one available)
Any ideas?

The file is to be named "test.htm"
<meta http-equiv="Content-Type" content="iso-8859-1">
<meta charset="iso-8859-1">
function submit1()
function submit2()
  var win = window.open('', 

Open in new window

CompTIA Security+
LVL 13
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

I am facing Problem when converting xml file to soap message for making a call to web service attaching my code and request  

following is the error

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 

ContentDescription >> null
Soap Header        >> [soapenv:Header: null]
Soap Part          >> com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl@37f8bb67
SOAP Body          >> [soapenv:Body: null]

Open in new window

I enter tradeview in my Google Chrome browser on www.google.com and get this website in the search results: https://www.tradingview.com/

When I click on it however, I automatically gets redirected to the national version, https://se.tradingview.com/ 
Even though I have VPN on using an American server.

Is there any way to get to the American version instead, the one displayed in the search results?
I'm grasping data from a web site via Excel and VBA.
It is an intranet site, so, unfortunately, it is not surfable from outside the firm.

Now, I'm in a deadlock dealing with confirmation alerts.

So, my basic question is:
How can I automatically click OK to confirm the two messages?

As you can see above, I've to click on determined rows of a report: clicking on it, in the export section of the site I will be able to download .xls files conteining any single record.

The problem is, when the macro reaches the line

Open in new window

I've to deal with two consecutive popups:
1) the first only needs confirmation (Would you like to export the records (.xls)?);
2) about the second (Request number: '" + nNum.toString() + "'.\n\n Download from Export section.");, I have to confirm it and capture in some way the number of request to refer to it when I've to download the files in the export section (I can use a sheet, i.e. "Sheet2", to store the number of requests).

Dim elements As Object
    Set elements = HTMLdoc.getElementsByClassName("Row")
Dim ele As Object
    For Each ele In elements
        If ele.innerText = "AZ25" Or "AZ2Z" Or "AZ28" Or "AZA0" Or _
            "AZA1" Or "AZ49" Or "AZ51" Or "AZ58" Or "ZA7Z" Or _
            "AZ27" Or "AZ50" Or "AZ59" Or "AZ52" Then
            Exit For
        End If
    Next ele

Open in new window

As follows the functions in the HTML code:


Open in new window

Looking to write a function to query an ex4 object for a value. My problem is that when I try to extract the value and the field has not been populated, JavaScript throws an error.
I can write a try/catch statement to trap the errors, but when I try to extract many values the code starts to look clumsy.

Is there some way to pass the ex4 object to a function w/o the function throwing an error when passing a ex4.location that has not been populated ?

var msh7 = msg['MSH']['MSH.7']['MSH.7.1'].toString();    // <- this throws an error if MSH|07 has not been populated. (they didn't send a date)

Why can't I do something like this ?:
var msh7 = getValue(msg['MSH']['MSH.7']['MSH.7.1']);    //  <- but this also throws an error if the location is not populated !?

function getValue(obj){
      return obj.toString();
   }catch(e){ return '';}   // just return an empty str.

I know I have a basic question, I'm trying to follow this tutorial:

but I faced this issue:
Firebase: Connect to Firebase failed. Please check your internet connection and try again. If errors persist, you can connect manually at https://console.firebase.google.com

I do not want to connect manually, any help, please.
Is there a specific standard that says a "Create New Record" button should not be on the Edit screen or is that just a common sense thing?  The application is not one in which users are required to create hundreds of records a day, it is more like maybe a few at a time or maybe only a few a week.

A business owner requested this but I, as a developer, felt the request should be denied due to violating Coding Standards and Best Practices but the Project Manager thinks I should do it because they feel they should never say "No" to a request.

I've asked other developers on my team and they agree with me but our Team Lead wants a specific Standard to site to prove my point before saying 'no' to the request.
An international website that runs with Multilanguage interfaces except Arabic. Digital marketing is handled by a third-party. If we wish to create the Arabic site as completely separate website hosted somewhere else, what are the pros and cons in terms of digital marketing?
redis used as cache data in at some point if we want to persist to SQL/No SQL is there a straight forward way?
I am just looking for a simple, light jquery plugin. I want to load a popup box/window on my home page that displays this months specials/discounts. I don't want it to be intrusive, so I want to be able to control the placement. Ideally it will pop up from the bottom right portion of the screen. I also want to be able to choose the look and styling.

I cannot even believe the trouble I had with trying to google what I need. All I could find were modals or tooltips or onclick or windows that were fixed in the center of the screen. I tried several different wording on searches and went several pages deep in results, and cannot seem to find something that fulfills those requirements.

I figure someone on here might know of something off hand that they could recommend. Thanks!
Become a Microsoft Certified Solutions Expert
LVL 13
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Some random examples:

<!DOCTYPE html>

What are these for?  What is their origin?

Can these references be viewed?  For example, the one for HTML4 I can go to the strict.dtd page, but what about the one for HTML5?  Or are they proprietary / confidential?  How do web programmers take advantage of them?
Hi Experts,

I have the following code which works fine for Win8 OS, while in Win7 it gives me an error, "cannot connect to the server".

Someone already helped me set this up in one Win7 pc, however now I need to move this over to another pc.

    Dim objHTTP As New WinHttp.WinHttpRequest

            Set objHTTP = New WinHttp.WinHttpRequest
            url = "https://MyAcct.caspio.com/oauth/token"
            objHTTP.Open "POST", url, False
            objHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
            objHTTP.Send "grant_type=client_credentials&client_id=MyID&client_secret=MySecretID"
            ResponseText = Right(objHTTP.ResponseText, Len(objHTTP.ResponseText) - 17)
            access_token = Left(ResponseText, InStr(ResponseText, """") - 1)

Open in new window

PS. this only happens when trying to access secured accounts (Hipaa).

As far I remember we did applied those attached last time, but so far this didn't help.

Thanks in advance.
I do not have a problem. I need to know where to look to learn the different types of files in script.
1533129675000047000137000212000136000072000161000012000057  to convert it into normal text
hi there,

Currently I'm trying to create, sign & broadcast bitcoin transaction using btcsuite. For start, I've already had testnet3 address & its associated privatekey for testing. However, hunting through the post and articles like below:-


The solution proposed above its not complete, for first one, it only covers until signing (i knew the author claimed its not broadcastable unless you provide the utxo which i did if i'm right) but when tried to braodcast it failed with message

"Error validating transaction: Transaction be9b294695bfb201a5cff32af074a4bf72b073e3c9dad1969111165bf118a622 orphaned, missing reference f0c0d3b3eecf911ede996a74ceadc9366068791450c9e6bacee9ae202f3690d1."

I have no idea what's going on and I suspect its script is incompatible.

So, the bottom line is I just want a workable example in bitcoin testnet3 that shows "from 1 address transfer some bitcoin to other address" by showing the process of creating raw transaction, sign it with private key, turn it to raw transaction in hex format & broadcast it using something like https://live.blockcypher.com/btc/pushtx/ (BTC testnet)

currently my code is as follow:-

package main
import (

Open in new window


I need to write this code in global.asa. GetLastDateandTime is working fine. I need to put that in the session. If user is present then we get the data from the database. This function is working fine. If user is not present then we are using update function. My update function is not working. Page is down. I am not sure how to fix the update function.

Sub S[b]ession_OnStart[/b]

Dim objConn, objRs, strConn

Set objRs = Server.CreateObject("ADODB.Recordset")

Set objConn = Server.CreateObject("ADODB.Connection")                                                                                     


strConn = "test;"


objConn.Open strConn

dim strUser

strUser = request.servervariables("logon_user")

dim strDateAndTime = Now()       

If (strUser <> "" ) then

    Session("LastDateTime") = GetLastDateandTime(strUser, objRs,objConn)

   UpdateLastDateAndTime(strUser, strDateAndTime, objRs,objConn);[/b]

End If


Set objRs = Nothing

Set objConn = Nothing

End If


End Sub



Function GetLastDateandTime( ByVal strUser, ByRef objRs, ByRef objConn)



    Dim cmd


       Set cmd = Server.CreateObject("ADODB.Command")                            

       Set cmd.ActiveConnection = objConn


       cmd.CommandText = "usp_GetLastDateandTime"


Open in new window

Dear Experts,

I have an asp.net website that uses identity 2.1 (I'm pretty sure > 2.0 anyways as near as I can tell). It is written in visual basic. I ran into a weird issue the other day where people were logging in and getting this viewstate error:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

So I followed the advice I found in the microsoft article and added a machine key to the web.config file so that no matter what it (hopefully) shouldn't get that error again.

Once the machine key was changed to one that I set now we had issues with anyone with an already existant authorization cookie on their computer, they were unable to login. I believe it's because the machine key that I set no longer matched the one that was used in their cookie. I'm not entirely clear how, but apparently it's part of how it's encrypted. If they clear their cookies, all is well - then they could login.

So one bit of advice I found searching on the web sounded super simple and super-easy. They recommended that you have some sort of set key in your web.config, like a guid or something and then you add it to your cookie also. Then, when you load the cookie, you can check the key and if it doesn't match your server key, somehow you invalidate the cookie.

I basically spent all day trying to figure out …
In my Magento there is an exception message "The requested Payment Method is not available." from Mage_Core_Exception class happening on a few pages:
  • /checkout/onepage/saveShippingMethod/
  • /checkout/onepage/

This is the stacktrace:
The version is Magento CE
What is the issue and how to fix this?
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

I had this question after viewing Auto refresh webpage but maintain scroll position.

I love the assisted solution, but when using a .mht file it does not work.
Internet Explorer asks if I want to open the file and the mht file opens in a new window.

How can I open, refresh (and stay on scroll) of an excel generated mht file?
I am using a @foreach() loop in razor view to pass variables to a table cell as shown below. using ajax calls, i want to fetch different values from a database and display them on the table cells on a button click event. The ajax calls are successful and i can return the right data to the model but the cell values do not change after initial load. How can i make the cell values update automatically every time the model changes
code sample
I have a SharePoint list app that uses workflows....

I have one multi-line field that I am using for a history field where I place a quick entry on updates....

This technique uses string builder in the workflow...  What I am trying to achieve is:

date for latest entry
blank line
previous entries

I can not get a CR to work at all, have tried all three format and <br/>

I come across the following link


Custom Filter OR Servlet Filter or AccessDecisionVoter

Need to provide access to user after login to the pages or actions based on certain conditions (user is active or user expiration date is over or user doesn't have any orders) and looking for a custom spring security. In the above which one would be suitable in this case and need a good code snippet to achieve it.
I have a VB.Net page where I have implemented Impersonation using help from the following post:
"go to the post on impersonation using VB.Net"

Although it seems to be working when I access the page from the IIS server (not local) but when other users try to access it then they get the following error message:

An error occurred while attempting to impersonate.  Execution of this request cannot continue.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): An error occurred while attempting to impersonate.  Execution of this request cannot continue.]
   System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +227
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +12491258
I have a HTML code that i use for the gmail signature. The change that i want to make to that is if there is no mobile number to that particular person my code still shows mobile at the signature with no number to it, Is there any way i can use if else statement to take that mobile text away if there is no mobile number to that person.

Here's my previous Code:

<p style="text-align: left;"><span style="color: #206694;"><strong>Phone</strong></span>&nbsp;$phoneBusiness &nbsp;&bull; &nbsp;<strong><span style="color: #206694;">Mobile</span></strong>&nbsp;$phoneMobile &nbsp;&bull; &nbsp;<span style="color: #206694;"><strong>Email</strong></span>&nbsp;$mailPrimary</p>
<hr style="height: 3px; color: #206694; background-color: #206694;" noshade="noshade" width="100%" />
<p style="text-align: center;"><span style="color: #206694;"><strong>$orgDescription&nbsp;</strong></span></p>

thank you in advance

Web Languages and Standards





Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.