Philippsen's Blog

Everyday findings in my world of .net and related stuff

About

tomph My name is Torben Mosgaard Philippsen. I was born in 1975 in Haderslev, Denmark – now living in Aalborg, Denmark.

I have been working as a developer with Microsoft .net technologies since the first beta in 2002. Since 2012 I have been working primarily with Microsoft Dynamics AX using my .net skills.
My primary area of work is with all kinds of integration related to AX. My primary interests are centered about webservices and integration in generel.

I’m a certified Microsoft Professionel Developer (MCPD) as well as I’m certified in AX Development (AX2009 and AX2012) and MS SQL Server.
Currently I have been working for EG A/S in Denmark since 2005 and have had the pleasure to work in different departments with different workareas.

I’d like to point out that this is a personal weblog. The purpose of this blog is primarily to serve as my own extended memory.
The opinions expressed here represent my own and not those of my employer.
In addition, my thoughts and opinions change from time to time…I consider this a necessary consequence of having an open mind and living life. This weblog is intended to provide a semi-permanent point in time snapshot and manifestation of some of the various challenges I have faced so far, and as such any thoughts and opinions expressed within out-of-date posts may not be the same, nor even similar, to those I may hold today.
The information in this weblog is provided “AS IS” with no warranties, and confers no rights.

Advertisements

2 Responses to “About”

  1. Jeff Stone said

    Hello Torben,
    Your Blog and AX knowledge are very impressive.
    I was wondering if you have ever seen a way in AX 2012 to have an Enterprise Portal page (viewing of pay checks) close automatically after some amount of time (5 minutes), similar to how other financial organizations will automatically log you out and redirect to another page after a certain amount of time.
    I am surprised that is not a configuration that is available, and have not had much luck talking to Microsoft. Fingers are pointing towards it being something needed in SharePoint or IIS on the EP server but we have not found anything that worked yet.
    Love to hear your thoughts on it.
    Thanks in advance.
    Jeff Stone

    • Hi Jeff,
      Thank You for stopping by.
      I haven’t met the need for auto logging off a user from EP myself but I think its actually a good question.
      Depending on Your setup one way of achieving this using AX functionality could be to set a timeout for the user.
      Go to Tools -> options -> interface options (section) -> Automatic shutdown (field)

      0 means no shutdown. Any positive number means that the client session is terminated if left unused for that amount of minutes. I don’t know for sure if this applies for enterprise portal sessions as well but it would be quite easy to test. Please note that this is a user specific setting – meaning You would probably need to create a job that updates certain users in the userinfo table.

      Another thought that crosses my mind, would be to set the timeout in the global.asax for the EP sharepoint site. In the Session_Start method I would expect you to be able to set the Session.TimeOut. The downside might be that this would apply to all pages. Ofcourse the saame could be achieved by configuring the IIS site.

      A third approach could be to alter the session.Timeout in the Page_Load in Your page/user control.

      A last approach could be to have a client side timer that starts when the page loads and that is restarted on any refresh of the page. When the timer reaches eg. 5 minutes a server side call is made in order to call:
      HttpContext.Current.Session.Clear();
      HttpContext.Current.Session.Abandon();
      Or maybe You could use this post that I jsut stumpled upon: http://stackoverflow.com/questions/13246378/detecting-user-inactivity-over-a-browser-purely-through-javascript

      As stated in the beginning I haven’t tried it myself but I hope my thoughts may serve as some inspiration.
      Would be great if You would post back Your solution…
      Kind regards Torben

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: