الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Page has expired. Redirect to login.

Featured Replies

بتاريخ:

السلام عليكم

حد جرب ياجماعه يعمل ان لم الصفحه عدة وقت معينه تخرج وتروح شاشة login page 

Page has expired. Redirect to login

Session time out in ADF.

image.png.6223664aadd8b595ef8aa02ea97dfa62.png

 
 
بتاريخ:

 Create Class like (GoLogin) as

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public class SecurityFilter implements Filter {
    private FilterConfig _filterConfig = null;

    public void init(FilterConfig filterConfig) throws ServletException {
        _filterConfig = filterConfig;
    }

    public void destroy() {
        _filterConfig = null;
    }

    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException,                                                                                                     ServletException {
        HttpServletRequest MyRequest = (HttpServletRequest) request;
        HttpServletResponse MyResponse = (HttpServletResponse) response;
        MyResponse.setHeader("Cache-Control", "no-cache");
        MyResponse.setHeader("Pragma", "no-cache");
        MyResponse.setDateHeader("Expires", 0);
        HttpSession session = MyRequest.getSession();
        String url = MyRequest.getRequestURI();
        Integer _userId = (Integer) session.getAttribute("userId");
        if (url.indexOf("YourLoginPage") <= 0 && _userId == null) {
            MyResponse.sendRedirect("/ContextRoot/faces/YourLoginPage");
        }
        chain.doFilter(request, response);
    }
}

 

After That open web.xml and add new Filter (Add the class name in the filter)

 

Done

بتاريخ:
  • كاتب الموضوع
في ٧‏/١١‏/٢٠٢١ at 11:17, mohamed.ramadan said:

 

في ٧‏/١١‏/٢٠٢١ at 11:17, mohamed.ramadan said:

شكرا جدااا  بس انا عملت كل الخطوات بس تقريبا انا عامل حاجه غلط ومش عارف هي ايه 

انظر المرفقات

 

1.png

2.png

بتاريخ:

123.png

بتاريخ:

12.jpg

  • بعد 1 شهر...
بتاريخ:

جربت الطريقه اعلاه بس مافي شي حصل

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.