I have a PowerBI report embedded on a page within my site. I have a 20 minute timeout on my site that will log the user out after 20 minutes of inactivity.
Unfortunately, since the user being active within the PowerBI embedded report doesn't make any calls to my server, the server thinks that the user has been inactive and logs them out.
Is there a way in PowerBI embedded to notify the Javascript on the page it is hosted in, to tell it that the user has clicked on buttons or selected charts, or generally been active? If so I can then make a call to a heartbeat API endpoint on my server that will keep their session alive.
You could listen for the events currently exposed by the powerbi-client library. It probably won't cover all user actions, but it may be sufficient.
Related
I want to use the Client ID in other reports. I've made a custom dimension for this and set up everything in Google Tag Manager.
When analyzing the data, I've noticed not all Client ID's from User Explorer are present in the custom dimension.
I'm picking up the ClientID with Google Tag Manager. I've added a "1st Party Cookie" variable with Cookie Name: "_ga".
Then I added the variable to my Google Analytics tag in GTM.
Previewed the change, saw how the variable was sent and published the container.
When I look at User Explorer from and look at the data from 3 days ago, I notice I have 1348 entries. However, when I look at the report with my custom ID, I only have 1210 entries. How can I get 100% of the Client ID's? What am I doing wrong?
This article by Simo Ahava can be an answer and solution to your issue.
You could get the Client ID from browser cookies, but if it’s a
first-time visitor to your site, chances are that the cookie hasn’t
been set by the time the Page View Tag fires, and you’ll miss this
information.
There are several options available to come around this issue:
Wait for window loaded event, and send an additional, non-interactive event with the clientId, which should be available at this point.
Use customTask, as described here in details, which is claimed to be more reliable and less complicated.
For 2 days now, my APEX is timing out every 10 minutes or less and it makes me lose my work!
I've tried to clean browser cookies and all...
Timeout is set in application's Shared components, Security Attributes, Session Management section.
"Maximum Session Length" is measured in seconds. If unset, it defaults to 43200 seconds (which is 12 hours) (for Apex 19.1) so ... check what it is currently set to.
I think that what you are facing is that your killing your previous sessions.
Every time you log in on an APEX application, it generates a session for your user (it's the random numbers in your URL)
If you have another browser tab opened and you request another log-in on the application, then another session is generated and if you go back to the other tab and try anything there, you will be asked to log-in again and if you do, the other session that you just logged-in will be killed.
For each application you log-in, is generated a session id that is saved on cookies of your browser. So just make sure that there's no other window or tab opened of that application already on the same session of your browser (although you can use different browser or incognito mode).
Also, pay attention in any favorite links that you made that links an APEX application. The same thing will happen if you are already logged-in and click on the favorite link that has a session on its URL.
This all can be avoided if you configure "Rejoin Sessions" parameter on the APEX installation enviroment: https://docs.oracle.com/cd/E59726_01/doc.50/e39151/adm_wrkspc002.htm#BABJCGAG
Windows Standard 2012 R2
SharePoint Foundation 2013
SQL Server 2014
I have a SharePoint Application page that is throwing the above error when clicking on any Button on the page. I even added a button with nothing in the method and still get the above error.
Note that I am NOT challenged when accessing the Application page initially and am NOT challenged when clicking the button. None of the code in the original method gets executed. In fact, it appears that the page cycle is never processed. I have logging in the method, the page_load even and in the page_unload event and nothing is logged.
The site is configured for claims authentication and I have verified that my account, application service account are both in Owners and both are admins on the box. Application Service account has SYSadmin on the SQL server (also located on the same box).
I changed SharePoint to allow access requests and to send me an email for those requests. Now the page shows:
The website declined to show this webpage
HTTP 403
Most likely causes:
•This website requires you to log in.
Any suggestions?
One more thing: this is a one-page application. There are no redirects, etc. within the page/application.
Thanks,
John
Turns out this was a permissions issue for the application service account. Never could find out specifically where but reverted to a previous service account and it works now.
I have a social marketing admin for my clients. I want to be able to update the admin when there is a new notification on their facebook fan page or a check in at their location.
Currently facebook sends me an email notification (for example when someone posts on the fan page wall). What I need is for a script to run that updates my admin whenever there is a unread notification.
What I don't want is to have to run a cron job every minute that grabs notifications. I have a lot of clients and a lot of fan pages. This would become very taxing.
Is there a way for facebook to push the notification to my script page instantly instead of querying every minute?
Real-time updates for pages do not cover feed content yet.
Currently facebook sends me an email notification (for example when someone posts on the fan page wall). What I need is for a script to run that updates my admin whenever there is a unread notification.
You could pipe incoming mail to a script, have it analyze the mail body (what page it was send for), and then trigger the notification …
I have a web service at which users can buy reports made on the fly using PayPals Express checkout process. I want to make sure that no matter how the user returns to the site (through paypals callback or by himself) he could download the report he payed for. For that I need to keep the report ID he has bought somewhere. Where and how would it be best to do that? (Cookies? Sessions Parameters?)
I am using ASP .Net C#.
Thanks,
Wess
Do the users have logins that are managed by you in your database? If so and you want the user to be able to return at any time to your page and download the report, then you'll need to use a PayPal callback to store in your database what report ID the user has purchased.
If you don't manage your users then I'm not sure how this can be accomplished because cookies are limited (and can be disabled by users) and sessions expire.