Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8837951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:51:45+00:00 2026-06-14T09:51:45+00:00

I have deployed an external application (accessed with an html page) in tomcat/webapps and

  • 0

I have deployed an external application (accessed with an html page) in tomcat/webapps and attempting to synchronize it with my Liferay session. The problem is that the timeouts are not synchronized (specified with the session-timeout property in web.xml), and any activity when accessing this page does not register with Liferay (thus, the timeout does not reset, so I’m always timing out after the amount of time specified in the session-timeout property, defaulted to 60 minutes).

I attempted an explicit call to Liferay.Session.extend() within my html page, and firebug shows that the POST call to extend the session was made, but Liferay still doesn’t appear to recognize it.

Any ideas would be greatly appreciated.

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:51:47+00:00Added an answer on June 14, 2026 at 9:51 am

    When you work on an application in the liferay, it means you are working on one portlet, until unless you move to another portlet, the liferay session is not reset. so once the 60 min done, you will be automatically timed out.

    Whatever you do with in a portlet, it is an ajax call w.r.t Liferay, so the solution would be try to extend the session for every ajax call.

    Try putting the following jquery script code in your portlet web page.

    jQuery(document).ready(function() {

        A4J.AJAX.AddListener({
            onafterajax : function(req, evt, data) {
                Liferay.Session.setCookie();
            }
        });
    });
    

    Good luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed a PHP application on my tomcat server(Tomcat 6.0).Previously I was using
I'm using Orbeon 3.7.0 beta1 under WAS 7.1. I have an external application that
I have an application that I've developed. Currently it is deployed with all its
I have a web application deployed in production which references an external web service.
I have an application that sends messages to an external web service. I build
I've got an open source static JavaScript + HTML application that's deployed in about
I have deployed a clickonce application, in my application i have 10 external dlls.
I have deployed an application on the IIS server, as per my requirement i
I have deployed my website to an .net 2.0.50727 hosting, and the page with
I have deployed a simple REST based application in RAD. A simple URL is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.