IFrame source not working properly on mobile - iframe

I'm currently using a simple Iframe source for my client login page. Now this works perfectly fine on PC. But whenever the client logins it shows their page and then immediately kicks them. Please advise what I can do different.
website page: [https://www.ksbin.com/client_login]
source code:
I'm very new to all of this, there isn't much I did differently as I don't have much experience.

Related

Power BI Iframe: Issue with IE and Edge

We have an Application Developed in ASP.NET inside which we have added an embedded Power Bi Dashboard using iFrame.
The Dashboard is working as expected in Chrome but facing the following issues with IE and Edge.
On IE the Dashboard is not being Displayed when viewed from the Embedded Application and upon clicking the power bi Sign-In button (shown within the Iframe), the application as a whole gets redirected to app.Powerbi.com/.... When you click the back button and refresh, still the sign-in prompt is shown in the iframe.
On Edge, the behavior is same as in IE, except that you click the back button from the app.powerbi.com website and then refresh the page, then the report renders correctly within the Iframe.
I tried clearing the Cache and Cookies, tried adding *.microsoft.com site and *app.powerbi.com to trusted sites list(per power bi forums) but still not working.
I suggest you check for the latest Windows updates and try to install it. Then after again try to test this issue on your side.
If the issue persists then hard refresh the page. Clear all the data for that site and again try to load the page.
I tested the issue with IE 11.1.18362.0 and Microsoft Edge 44.18362.1.0. As per my testing results, both browsers display the Power BI dashboard in ASP.NET site without any issue.
Output in IE 11:
Output in MS Edge:
If the issue persists then try to check the console to see whether there is any error or warning message. It can help to narrow down the issue.

Outlook/Gmail Mail Open Tracking

At the bottom of the email content i have a tiny code
img src='https://www.......aspx?Name=David' height='1' width='1'
What it does is whenever an user open the email, it tried to download the image (if email client allow) then it loads the aspx page in the background and passing Name parameter: David as GET and in that aspx page pretty much insert David into a table.
However, this seem to be working if I open outlook via browser, rather than using outlook on windows & android app and it doesn't work in gmail via browser.
How can i make it work if an user open via outlook windows/android app
Seems like it has to do with email encoding or something?
The email clients where this works are old, poorly designed, or misconfigured. The email clients where it doesn't work are smart enough to recognize this attempt at invading the user's privacy and block it, by not allowing remote images to load. There's not a way around it, and the entire point of not loading remote images is to keep people like you from doing what you're trying to do.

Running Canvas app in a Tab

This is my first Facebook app and I'm on quite a tight deadline so forgive me if any of this is a dumb question.
I've set up a Canvas app, I've got it to authenticate by passing the parameters to the facebook URL:
https://www.facebook.com/dialog/oauth?client_id=1234&redirect_uri=MY_APP_URI
I can then get the user_id and name of the user, which for this particular app is all I need. It runs fine in the Canvas page.
Problem is I can't get it to run in a tab, it always redirects to the Canvas, which is not what I want - I need it to run within the context of my client's Facebook page. I've been trying to find examples of setting it up but everything seems to be out of date compared to what I'm seeing in the App settings.
My settings at the moment are:
App on Facebook
Canvas URL: http://localhost/facebook/
Canvas Page: http://apps.facebook.com/MYAPP
Page Tab
Page Tab Name: My test app
Page Tab URL: http://localhost/facebook/
I presume I'm missing something obvious, so if someone can advise I'd be grateful. For what it's worth I'm using .Net webforms and have the C# SDK installed, but don't think I'll need to really use it for this example.
EDITED TO ADD
I'm sure its to do with the authorization - I've followed the guide here developers.facebook.com/docs/appsonfacebook/tutorial on how to redirect the page back with the authorization payload, but obviously doing that has kicked it out of the tab and into the main Canvas again. I need to to stay where it is, if such a thing is possible.
localhost points from your local machine to itself. Facebook does not know what localhost relates to and cannot load the app. You need to make your app accessible from outside of your machine.
It was the fact that I was still redirecting the url, when you run in a tab you don't need to redirect to another url to get the user data, it's just there waiting.

ASP.NET website not working properly in mobile

I have created a simple app with a page having a server side form, three fields and a button that submits and performs two operations - 1) adds the form fields to the database table 2) sends an email. Now everything works fine on the web browser on my machine but when I access the app through my mobile, the page does not seem to work. the UI and all are set but the button click functionality doesnt seem to be working and also the label which is set after a successful submit is already visible and showing the "thank you" message. Am i doing something wrong here?
I have checked the app on Nokia Smartphone browser, android phone, and iphone simulator.
1st i would try to access the site from a different computer or through a proxy. Just to make sure things work out well in different browsers. That may catch your bug. It may be working fine on your PC Locally, on a local web server, but may not be uploaded to the web.
Next, I would check to see if the devices you are using support Javascript. Chances are good that your script relies on it.
I strongly recommend you to use JQuery Mobile, it create Mobile friendly interface for your website. and for sure it work the same for each cell phone, but as Asp.net isnot easy to render for most of (old) phones, so that you're not able to use whatever you like.

website not loading from one location

I have a website hosted at webhost4life.com. It works fine when I load up the website from various locations (home, coffee shop, library, etc). But from my friend's house it will NOT load. It just looks like it's sitting there thinking and the website might load a few images here and there but that's. The full page doesn't load and most of the time nothing loads.
This is a c# asp.net website. My question is, how do i go about troubleshooting to find out what is wrong?
Right now I do not really know where to start. These are the things I have tried:
static page - i uploaded a static html page and that loads up fine!
fiddler - i track the session in fiddler and get nothing back. but when i try the static page i get normal results and it's working fine.
tracert www.mydomain.com - this looks fine, i get similar results with www.yahoo.com
telnet www.mydomain.com 80 - i do this to ping port 80 of the website. if i type "get" and hit enter i see a "Bad request" message but i see the same message for other websites and they work fine from here
ftp - ftp works fast and is fine
So at this point, I know that my asp.net parts of the website doesn't seem to work but only from this one location. It works fine from everywhere else I have tried. But static pages DO work just fine.
Any ideas?
Try doing the telnet 'get' and actually request a page that is having problems. It could be that you are referencing elements in your application that your friend's computer is having trouble connecting to. If you get back all the mark up of the page, then it's one of the items that the page is referencing that is causing the problem. If the page renders incompletely, then your site may be having problems or the might be a network issue between your friend's house and your site. Since your application loads up from other locations I'd suspect that your friend's computer or network has the problem rather than your site. Your site shouldn't care where the request is coming from.

Resources