---
title: "Comment by Jari Laine on \"Tips for APEX Application Constants\" | Hashnode"
description: "Hi Martin, I have two cases that like understand does write to database happens: If I create hidden item P0_APP_NAME to global page and set Storage to Per Reque"
url: "https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/661630288377cf9cd6604f46"
---

[Discussion](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e)

Comment [Tips for APEX Application Constants](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e)

[Apr 10, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/661630288377cf9cd6604f46)

Hi Martin,

I have two cases that like understand does write to database happens:

1.  If I create hidden item P0\_APP\_NAME to global page and set Storage to Per Request (Memory Only). Then create application computation before header for item.
2.  I have hidden item P1\_EMPNO where Storage set Per Request (Memory Only), and I use item in classic report Page Items to Submit. Then e.g. sort report.

Thanks advance.

[Martin Giffy D'Souza](https://hashnode.com/@martindsouza)

[Apr 11, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/661630288377cf9cd6604f46#reply-661749e556b47262f201f976)

[Jari Laine](https://hashnode.com/@JariLaineO) in both cases the items will be written to "APEX Session memory" in the database. Here are the reasons:

1: When you have a application computation, the processing is done in the database and therefore is saved in your APEX Session

2: When the item is set to Page Items to Submit the same occurs. It's sent via the AJAX request, stored in APEX Session then is used in the request.
