Solved

POST request with saved credentials after page redirect.

Posted on 2014-09-14
1
139 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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).

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now