Discussions
Categories
- 385.5K All Categories
- 5.1K Data
- 2.5K Big Data Appliance
- 2.5K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
How to open page of application directly from external link

Hi everyone,
I have an application that allows to notify my users for the processing of the forlders, by receiving an email with a link that redirects to the specific folder to be processed.
My questions is:
- First of all, to make it work, must the user be connected first to be redirected to the right folder to process? if yes, how can i get the current session_id of connected user (is it from &APP_SESSION.) ?
- If the user is not connected, when he clicks on the link found in the email received, he will be redirected to the authentication page, later how could I redirect him without going through the homepage, to go directly to the folder to be treated ?
NB: Version of apex production 5.1.0
Thank you in advance for help.
Answers
-
Soukaina IDRISSI wrote:Hi everyone, I have an application that allows to notify my users for the processing of the forlders, by receiving an email with a link that redirects to the specific folder to be processed.My questions is:First of all, to make it work, must the user be connected first to be redirected to the right folder to process? if yes, how can i get the current session_id of connected user (is it from &APP_SESSION.) ?If the user is not connected, when he clicks on the link found in the email received, he will be redirected to the authentication page, later how could I redirect him without going through the homepage, to go directly to the folder to be treated ?
Ensure that the instance and application has support for deep linking and rejoining sessions configured:
- About Support for Deep Linking
- About Enabling Support for Bookmarks
- About Rejoin Sessions
- Configuring Rejoin Sessions for an Instance
- Configuring Rejoin Sessions in Page Designer
Then just embed the link in the email (no additional parameters required), APEX will perform any authentication necessary, and then navigate to the specified folder page.
-
You can query APEX_WORKSPACE_SESSIONS to get a user's session id, but obviously that only works if they are logged on.
If the user doesn't have a session, you can't bypass the logon screen unless you make the page public.
You could use the rejoin session functionality to reduce the number of times a user has to logon, but the user will always have to logon at least once to create a session cookie.
-
Thank you for reply fac586.
So, to sum up, what are the changes that I must make to my project so that I can have access to a link (containing several parameters to the url) from my email.
Here is the configuration that I made in my project:
but without getting a good result
-
Is there any news regarding this post please ?
-
I have the same problem.
I have:
Rejoin Session: Enabled for All Sessions.
Deep Linking: Enabled
Session State Protection: Enabled
Session Sharing Type: Custom
Cookie Name: TG
The page item which is passed in the deeplink has Session State Protection: Checksum Required - Application level.
Result sofar: deep linking works, but every time I navigate to this link, I need to login, even if I'm already logged in.
If I would send an email containing 2 deep links, the received of that email would have to login every time he/she clicks another (or the same) link.
Any tips to get rejoin sessions based on the cookie working?
-
Is there any help ?