View Single Post
Old 12-03-2012, 11:23 PM   PM User | #6
byrondallas
New Coder

 
Join Date: Jul 2011
Location: USA
Posts: 39
Thanks: 0
Thanked 1 Time in 1 Post
byrondallas is an unknown quantity at this point
Quote:
Originally Posted by Old Pedant View Post
So you aren't showing us real code?
SO... It would help if you would use *REAL* code instead of giving us fake code that is somewhat meaningless.
I'm showing you the code I'm using, just not the end result. I guess I should explain and maybe it will help shed some light on what's going on. The doIt function is on a proxy. All it does is drop the url into the url form and then you click the proxy submit button to submit the url. This is being used by people who are on a really old browser called webtv and they can't handle secure communications without going through a proxy. The site they want to go to is fastmail.fm, but just going to fastmail.fm through the proxy by entering this url https://fastmail.fm fails for them because fastmail is using this as the form action <form action="/">. Every time they submit the login info through the proxy, it just takes them back to the proxy home page instead of there mail page. The doIt function was already on the proxy page and it just dropped in the fastmail url into the proxy form but like I explained previously, fastmail has changed thier form action. So after some testing I found a way for them to get back to thier fastmail email by entering this into the proxy form:

Code:
https://www.fastmail.fm/?dologin=1&page=m.html&interface=html&screenSize=mobile&hasPushState=0&username=USERNAME&password=PASSWORD
So what it all boils down to is that I want the users to be able to enter thier username and password and click doIt and the url (above) get's entered into the proxy form with thier username and password in the url. Then they click submit and the proxy takes care of the secure communications for them.

LOL it wasn't that I was hiding anything, it was just to much to have to explain.

Quote:
Originally Posted by Old Pedant View Post
I would *GUESS* that what you are really after is *SOMETHING* like this:
YES! That's exactly what I'm after. Thank you so much for your help!

Last edited by byrondallas; 12-03-2012 at 11:45 PM..
byrondallas is offline   Reply With Quote