---
title: "Discussion on \"Tips for APEX Application Constants\" | Hashnode"
description: "Discussion on \"Tips for APEX Application Constants\". How to use Text Messages for Constants"
url: "https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tips for APEX Application Constants](https://talkapex.com/tips-for-apex-application-constants?utm_source=hashnode&utm_medium=feed)

How to use Text Messages for Constants

Jan 22, 2024 · 4 min read · talkapex.com  
Read the article

-   [#orclapex](https://hashnode.com/tag/orclapex)

## Written by

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

@martindsouza · Calgary, Alberta, Canada

  
[View profile](https://hashnode.com/@martindsouza)

Oracle APEX Developer

## Responses 4

Markdown supported · ⌘↵ to post

[BRITANY PEDDY](https://hashnode.com/@peddybrit)

[May 14, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/6642c08fe21a4489b56ece7e)

TROPICAL DELIGHT RECOVERY IS THE ONLY VERIFIED LICENSE COMPANY.

Are you looking for a way to recover cryptocurrency you misplaced or had stolen? I'm pleased to inform that Tropical Delight Recovery Hacker has resolved the issue that nearly caused my house to fall since I spent the monies my spouse wanted to utilise to start a business. I lost $1.4 million in bitcoin and etherium to these scammers. They excel at what they do and are the leading certified cryptocurrency recovery company. They can be reached instantly at: @ tropicaldelightrecoveryhacker on Telegram and @ tropicaldelightrecoveryhacker.93 on Signal. The email address is TropicalDelightRecoveryHacker @ out look .com.

[Reckson Zirsangzela Khiangte](https://hashnode.com/@RecksonK)

[Apr 26, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/662b7cd0633870d4da22113d)

Very insightful

[Jari Laine](https://hashnode.com/@JariLaineO)

[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.

[Osvaldo González](https://hashnode.com/@OsvaldoGonzalezPy)

[Jan 25, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/65b1aebe6b535ff54008a58d)

Hello Martin, this post is very good. I have a doubt. ¿Can I use this with a computation instead of a application item to save the username? Because I'm using database user and not APEX user

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

[Jan 25, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/65b1aebe6b535ff54008a58d#reply-65b1c0d4f826b65f626011ee)

Text messages are stored for the entire application (i.e. they aren’t session specific). You shouldn’t use it to store session specific content. So I wouldn’t recommend for username.

[Osvaldo González](https://hashnode.com/@OsvaldoGonzalezPy)

[Jan 25, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/65b1aebe6b535ff54008a58d#reply-65b2a164f826b65f626b83c6)

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

[Jon Dixon](https://hashnode.com/@orclapex)

[Jan 23, 2024](https://hashnode.com/posts/tips-for-apex-application-constants/65ae58d53c26b6ba7eab1c6e/comment/65af35bfe2c1a21a7a057000)

Nice, thanks Martin.
