Solved

POST request with saved credentials after page redirect.

Posted on 2014-09-14
1
144 Views
Last Modified: 2014-09-21
I have created a page on wix. Inside of this page I have created "embedded HTML code" (if I correctly translated from russian).
Inside of this HTML code, I want to write JS code which
1. Gets the login from input tag.
2. Gets password from input tag.
3. Goes the the another site.
4. Make POST submit request with the  login and password which has been retrieved above.

It seems to me, at the step 3 it goes to another location and so the 4-th step is never run.
Should I assume such analogue that, redirection to another page is like returning from function?
0
Comment
Question by:Nusrat Nuriyev
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40323875
You cannot post data on a re-direct. You need to have a  form an do a submit, however you may runinto security issues if you go cross-domain.  I am pretty sure that you are going to fail to solve this.  Most certainly you will fail from a limited environment like WIX that really does not have any kind of real professional level support for advance web development.

If you had a real website, it might be possible to accomplish something that looks like what you are trying to do, but it is not something that is going to come about easily.

Cd&
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question