Monoux Posted December 19, 2015 Report Share Posted December 19, 2015 Hi, I have an html page with 2 datapages in it. Both are in their own divs. I'm trying to get the second div, called 'callback', to refresh every 6 seconds. I don't want to refresh the first div.I've got this javascript to do itfunction autoRefresh_div(){$("#callback").load("https://c1eru548.caspio.com/dp.asp?AppKey=f6344000919808bbf8fb4bb59cec&Email=[@authfield:Email]&Current_Password=[@authfield:Current_Password]");}setInterval('autoRefresh_div()', 6000);The URL in the function autoRefresh_div is the deployment URL from Caspio for the datapage I want refreshing.Users login into the app and the first page they get is this html page. After 6 seconds the second div refreshes fine, but the system is putting up the standard User Name and Password fields again in the second div, so the user has to login again. The first div isn't doing anything which is the desired action. As you can see I've tried to add these parameters to the URL so it autologs in. Unforutnately it isn't working. If anyone has any ideas that woud be great. Thanks Quote Link to comment Share on other sites More sharing options...
Monoux Posted December 22, 2015 Author Report Share Posted December 22, 2015 Hi, This has been solved here http://forums.caspio.com/index.php/topic/5393-datapage-div-auto-refresh-issue-with-authorisation/ Cheers Monoux Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.