Custom web parts in SharePoint 2013 becomes inactive when the session is idle for long time.

Hi,
We have a search center site with custom web parts and custom master pages. When the session is inactive for long time all the custom web parts in the page doesn't work, unless we close the browser and open it. Where as this is not the case with the
OOB web parts. We are not able to identify the root cause as it works with OOB web parts and not the custom web parts.We were able to find that by increasing the session timeout of the web application we can avoid this issue.We do not want to increase the
session timeout as the OOB web part works perfectly even when the user session is idle for long time.Is there any other alternative where we can acheive the same for custom web parts when the session is idle for long time?
Thanks,
Saranya

Hi Saranya,
According to your descirption, my understanding is that when the session is long time idle ,then custom web part will not work.
I suggest you check if you have enable the session in the Page Level in the web.config. By default SharePoint disable the session state.
In the web.config, you will see <page enableSessionState> tag. You can modify like below and test if it works.
<pages enableSessionState=”true” ….. />
Here is a detailed thread for your reference:
Use Session State in SharePoint
Best Regards
Zhengyu Guo
TechNet Community Support

Similar Messages

  • How to fix javascript error/bug on custom web part of SharePoint 2013

    I have a custom web part with serveral business fields. This web part is installed on DispForm, EditForm an NewForm.
    But, I click on Attach File button and a javascrit error is throw on my browser's status bar.
    Line: 5279
    Character: 5
    Code: 0
    URI: http://mysite:4000/_layouts/15/form.debug.js?rev=vyMg8qjZfJ8La1jn7bQ2cg%3D%3D
    How to solve this problem? I think it is a javascript conflict
    Tarcísio Corte [email protected]

    Hi,
    1. You can create a simple demo web part without your custom code firstly, then insert it into your form pages to see if the similar issue would occur. If it works, then add your
    other code into it one after one. By doing this, it will be easier to find out the root cause of this issue.
    2. What browser do you use? Please try to use IE 10(SharePoint 2013), IE8(SharePoint2010).
    3. You can also debug your code using IE F12 Developer Tools.
    http://blogs.msdn.com/b/kaevans/archive/2011/04/25/debugging-javascript-with-the-ie-developer-tools.aspx
    If the issue still exists, I can suggest you provide more information for further research.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Advanced Search Web Part in SharePoint 2013

    I would like to know more about advance search web part in SharePoint 2013. How it looks and implementation ?

    Hi,
    Please go through below video/links for more details on SharePoint 2013 Search and associated feature.
    http://www.youtube.com/watch?v=T1J_pMD7V_4
    https://social.technet.microsoft.com/forums/sharepoint/en-US/99e6d5f2-76da-4fdd-8464-24159f12cee1/advanced-search-box-web-part-is-missing
    Hope this helps you.
    Regards
    Soni K

  • Status of DataView Web Part in SharePoint 2013

    I hope this is a simple question but I'm stumped. What is the status of the DataView Web Part in SharePoint 2013? I am working on a migration of our site from SP 2010 to SP 2013. We previously had a DataView Web Part which is used widely on our site. It
    is not showing up and the error is "Type type could not be found or it is not registered as safe." When I try to add a new copy of this web part, I get the message "The type Microsoft.SharePoint.WebPartPages.DataViewWebPart....PublicKeyToen=71e9bce111e9429c"
    could not be found or it is not registered as safe.
    I'm not the Farm Admin is this case, so my question is whether the web.config needs to be edited to make this usable, or something else perhaps. Or am I simply out of luck using this in SharePoint 2013.
    Any help is appreciated!

    I suspect you will need to compare the web.config files on the new 2013 system to the ones on the old 2010 system and evaluate the differences.  The safecontrol entry is in my default 2013 environment.  If its not in yours it will need to be added.
     For any web part to work you need three things:
    A safe control entry in the web.config
    A .dll that contains the code that generates the html displayed when the web part is rendered.
    A .dwp or .webpart file in the web part gallery that contains info about what class and .dll to use
    #3 should be in the content database you are migrating.  YOu'll need to verify that #1 & #2 exist.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Custom web part in SharePoint Online for "User segments"

    Hi Experts,
    I was refferd here from the SharePoine Online community. http://community.office365.com/en-us/f/148/p/278071/851153.aspx 
    I was following this article to implement user segment in SharePoint Online http://blogs.msdn.com/b/adaptive_experiences_in_sharepoint_2013/archive/2012/11/14/set-up-user-segmentation-to-drive-adaptive-experiences-in-a-product-catalog-in-sharepoint-2013.aspx 
    However, this seems to require a custom web part to be build and deployed in SharePoint Online.
    Anyone has made user segment work in SharePoint Online? Anyone has done this custom web part before?
    Thank you,
    Aswath NS

    By default the Site Users web part shows all the users and groups who have been give direct permission to the site.  That would not include anyone who was given permission by being added to a group.  You can modify the web part settings to show
    a list of people in the Members group of the site or any other specific group.  But there is no setting to show all the users who have access.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Minimize web part in Sharepoint 2013

    We upgraded SharePoint 2007 to 2013 and now we cannot minimize the web parts even if each part is set with "allow minimize" and chrome state is "Title ad border" or "Title only". Someone could help? 

    Hi,
    Does this behavior occur on application pages ? 
    As far as I know, it can be caused by that the web part zone's AllowPersonalization peroperty is set to false. If the page is an application page, you can go to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS to find
    your page and make sure the web part zone's AllowPersonalization peroperty is true. Also please add your site to compatibility mode .
    Reference:
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.webpartzone.allowpersonalization.aspx
    http://sharepoint.stackexchange.com/questions/115199/unable-to-edit-web-part-properties-in-web-part-zone-in-2013
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to code a custom content search web part in Sharepoint 2013?

    Hi,
    Do you have any idea on how to create a custom Content Search Web part? What I mean is, I will code it in Visual Studio 2012.
    Regards,
    Napster

    check this
    http://social.technet.microsoft.com/Forums/ie/en-US/13f1e581-4250-48c7-93a6-ef7ae2bb14c5/is-this-there-a-way-to-programmatically-set-the-query-text-or-append-additional-kql-filtering-to-a?forum=sharepointsearch
    http://onlinecoder.blogspot.in/2013/08/sharepoint-2013-content-search-web-part.html

  • Display look up column as drop down list in a web part in SharePoint 2013

    Hi,
    I have a look up column in SharePoint 2013 calendar list.I want to show that field with values in the page as drop down list to filter the data based in selected value.
    Is it possible through OOB or javascript.
    Please help .
    Thank you.

    Hi  ,
    According to your description, my understanding is that you want to  filter a calendar based a look up column in SharePoint 2013.
    Calendar View not support OOTB filters connection. it is disabled for calendar view, you need to change view(not calendar view) so OOTB filters works and get connected to your view.
    You can achieve this using combination of jQuery and SharePoint OOB techniques.
    For jQuery filters refer to the  blog: enter SharePoint List Filters using jQuery
    Also you can filter Calendar View Web Part using JQuery and SPServices:
    http://blogs.visigo.com/chriscoulson/filter-a-sharepoint-calendar-list-with-a-date-picker/
    http://joshmccarty.com/2011/11/sharepoint-jquery-and-fullcalendar%E2%80%94now-with-spservices/
    http://spservices.codeplex.com/discussions/258846
    Another  way, you can have a look at the SPFilterCalendar :
    http://www.aasoftech.com/SitePages/How%20to%20Filter%20SharePoint%20Calendar%20Dynamically.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Unable to add web part to SharePoint 2013 page

    hello,
    My account has full control on the site collection, and when I edit the page and click on the Add a Web Part, nothing happens.  I would expect to have a list of web parts that I can select from, but this does not appear.  What can I do to enable
    this or get web parts added to the page?
    Thanks
    Paul

    Hi Paul,
    We need to collect more information about your issue:
    1.Is there any customized script that might affect the issue?
    2.Could you please test the issue with another user account? Does it work before for your account?
    3.Please test the issue on other browsers and see if it works.
    Similar threads:
    https://social.technet.microsoft.com/forums/sharepoint/en-US/e4fc21d4-b703-454a-a135-6d28d23cb18a/unable-to-add-webpart-wpadder-is-missing
    http://sharepoint.stackexchange.com/questions/3883/cant-add-web-parts-to-a-page-as-a-user-with-full-control
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Trending Tags web-part in sharepoint 2013

    Hi,
    I've added Trending Tags web-part on my application page. Whenever I post a #Tag from wall , it takes around 1 day to reflect in trending-tags web-part. Also , it shows "2 uses in the past week". I have configured the search properly , with incremental
    crawl..
    The issue is - a) How trending tags work ?(any timer-job or any other configuration stuff)..b) Why it shows "2 uses in the past week" even though it is used by a single user..
    Vipul Jain

    did you configure search schedule , check below post 
    http://usesharepoint.blogspot.ae/2013/06/taggings-been-quite-lately.html
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • How to create a Employee Directory Web part in Sharepoint 2013

    I am new to this Web part. So can anybody tell me where could i start to do this. What configuration i have to do? Which web part can i use?

    Hi,
    Please take a look at this article
    SharePoint 2013 MySites Organizational Chart
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

  • Web part permissions sharepoint 2013

    Hello,
    I have an issue regarding web parts and whom can see these.
    I would like to have a web part showed on a site with a view that only a certain group of people can see. I know it was possible with sharepoint 2010 to limit the acces to a web part, but i dont know wether it is possible with sharepoint foundation?

    Anwer is no, SP foundation does not  supports Audience Targetting -
    http://technet.microsoft.com/en-us/library/cc261958.aspx
    see this tread on this =
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/713e54d0-dba0-4572-b51f-63a5b0c9aa34/sharepoint-foundation-audience-targeting?forum=sharepointadminprevious
    http://msdn.microsoft.com/en-us/library/office/ee906649(v=office.14).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • Issue with web part connections : won't display data when the lookup field is a calculated field

    Hello,
    I have a list A with a calculated field named A.A. I have a list B that has a lookup field to list A, to field A.A, named B.A. I add the two lists in a wiki page and I try to connect them - I.E., select a row from A and the rows from B would be automatically
    filtered.
    The B\Connections\get filtered values from A and select Provider:A.A, Consumer B.A doesn't bring any results. If I do the exact opposite: A\Connections\get filtered values from B and select Provider:B.A, Consumer A.A  works fine. But, this is not what
    I want.
    If the A.A isn't calculated field, everything works fine. So, it looks like there's an issue with calculated fields acting as consumers.
    Is this a known issue and are there any know workarounds? A workaround is to abandon calculated field and  use sharepoint designer workflow.
    Thank you
    Christos

    Hi,
    According to your post, my understanding is that you had issues about connecting web parts.
    I try to reproduce the issue, however, everything works well.
    Create a custom list named List A, add a caculated column named A.A(Formula: =Title).
    Create a custom list named List B, add a lookup column named B.A(List A: A.A).
    Create a page and then insert the two list view web parts.
    Edit page, select List B->Connections->Get Filtered Values From List A.
    Then I can filter the List B.
    I recommend to create another caculated column and get filter value form it to check whether it works.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Why are the web pages of SharePoint 2013 so devoid of colour and distinct boundaries and leave screen space unutilized

    Hi All,
    This was a comment from my business users who have worked with various versions of SharePoint. I understand SP 2013 has put in logic to make the web pages to be compatible with a wider set of browsers and screen form factors. Nevertheless, the issues raised
    by my business users are valid.
    Comparing a basic web part page of SP 2013 with SP 2007 and 2010, their feedback was:
    SP 2013 pages do not have clear boundaries
    SP 2013 pages are generally devoid of colour. This is makes it harder to visually distinguish links from ordinary text.
    SP 2013 pages appear to leave large swathes of screen space underutilized.
    Thanks,
    Saurabh
    Web part page on SP 2007
    Web part page on SP 2013
    sdg

    Hi,             
    1. When insert a web part in SharePoint 2013, you can edit the web part and change the appearance and layout of the web part.                                                                           
    You can add the boundaries for the web part. (Edit page->select a web part ->edit the web part->in the appearance section->in Chrome Type, select title and border->after that you can see the boundaries).
    2. The color of the links depends on the theme you have selected in SharePoint 2013. Different themes set the different colors of the links. You also can customize the theme or composed look in SharePoint 2013.
    The article below is about how to create a SharePoint composed look.
    https://bniaulin.wordpress.com/2012/12/16/step-by-step-create-a-sharepoint-2013-composed-look/
    3. In SharePoint 2013, the space between different zones is set by default.
     The picture below is my page in SharePoint 2013.
    If there is much space between zones, to check:
    1. If input much space in web part in the SharePoint 2013.
    2. If input space in the web pert zone in SharePoint 2013.
    3. If the width has been changed in the below code in the page which you change the text layout.
    <table id="layoutsTable" style="width: 100%">
        <tbody>
            <tr style="vertical-align: top">
    <td style="width: 100%">
    <div style="width: 100%">
    <div>
    </div>
    </div>
    </td>
            </tr>
        </tbody>
    </table>                                                                                     
    The article below is about when you edit the page and choose one style of the text layout, some code will be added in page automatically.
    https://social.technet.microsoft.com/Forums/office/en-US/0422f5e0-4374-4bf5-b4d8-c4f8f970c865/sharepoint-wiki-page-text-layout-column-width?forum=sharepointcustomizationprevious
    If you want to Remove/Hide empty space between web parts, you can add css code in the content edit web part.
    The article below is about this issue.
    http://havivi.blogspot.in/2009/08/removehide-empty-space-between-web.html
    Best regards
    Sara Fan
    TechNet Community Support

Maybe you are looking for

  • Variable subsitution for target file names

    Hi All, I am using variable subsitution for dynamic file names. I am using the multimapping for multiple files in the target.So i coluld not able to use the dynamic configuration for file names. Now i want to replace all the spaces in the filename to

  • FireActionEvent or ActionEvent??

    Hello Everyone, Now I am up with another silly query :D Its like i've placed a jcombobox in a jpanel in the container which is havin one jtabbedpane on it. Now, originally jtabbedpane displays just a chart which is placed on a chartpanel but, once th

  • Flash Player stops in You Tube

    Flash Player runs for about 20 seconds and then stops, (in YouTube), I have FlashPlayer 10, Windows Vista, and i use Internet Explore.Is the enyone out ther that can help.

  • Photo library gone during copying the file...

    I bought a new Mac and wanted to import the library into my new computer. So I started to copy the file onto my external hard drive wth the idea to connect that drive to my new computer and use if from there to imported into my new iPhoto 11. However

  • New Features in JavaFX 2.2

    Hi All, Greetings! JavaFX 2.2 is released !! :) Can some one provide a detailed list of new changes which are included in this release. Thanks in Advance !! :) Thanks & Regards, Sai Pradeep Dandem