المكتبة التقنية ←

افهم روابط APEX قبل تمرير Session State

English version

APEX supports Friendly URLs and the legacy f?p syntax. Understanding the URL helps when diagnosing navigation and unexpected session values.

The legacy structure separates application, page, session, request, debug, clear-cache, item names, and item values with colons. A missing separator can shift a value into the wrong position. Prefer declarative link builders and supported URL-generation APIs to manual concatenation.

Treat values received through a URL as user-controlled input. Apply server-side validation and authorization, and preserve the application's URL protection requirements. A request value used for a rendering condition does not by itself perform a page submit or authorize a write operation.

Clear cache deliberately: understand which session values should be reset before the target page renders. Keep private information and credentials out of URLs, and avoid distributing live session identifiers.

When debugging a link, check the generated destination, intended page, cleared state, and the values the server actually receives.

Reference: Oracle URL syntax.

النسخة العربية

APEX تدعم Friendly URLs والصيغة الأقدم f?p. فهم الرابط بيساعد في تشخيص التنقل وقيم الجلسة غير المتوقعة.

الصيغة القديمة تفصل التطبيق والصفحة والجلسة والطلب والـDebug ومسح الحالة وأسماء وقيم العناصر باستخدام النقطتين. فاصل ناقص ممكن ينقل قيمة لمكان مختلف. فضل أدوات بناء الروابط المدمجة وواجهات توليد الروابط المدعومة على تجميع النص يدويًا.

اعتبر قيم الرابط مدخلات يتحكم فيها المستخدم. طبق التحقق والصلاحيات على السيرفر وحافظ على متطلبات حماية الروابط. قيمة Request المستخدمة في شرط عرض لا تنفذ Submit ولا تمنح صلاحية كتابة بمفردها.

حدد مسح الحالة بقصد واضح: إيه القيم اللي لازم تتصفر قبل عرض الصفحة؟ وابعد المعلومات الخاصة وكلمات السر عن الروابط، وتجنب مشاركة معرف جلسة حية.

عند تشخيص الرابط، راجع الوجهة والصفحة والحالة المطلوب مسحها والقيم اللي وصلت فعلًا للسيرفر.

المرجع: توثيق Oracle لصيغة الروابط.