How to have an e-mail link that accesses the APEX page without you connect again.
Greetings,It is common in our applications APEX to send e-mail to a user with a link to a specific data line so that they can access the line and approve it. The user who receives the email is already connected to the application, but when they click on the link in their email, he is asked to open a session. How to do this?
Thank you, Tony
Published by: hidden on 5 July 2012 14:47
What you need is a custom page Sentinel installation that will detect if there is a session already valid and which then uses.
See {: identifier of the thread = 2283805} for a fantastic example of Patrick Wolf on the functions of sentry page. You will need to change to get a valid session, through apex_custom_auth.get_session_id.
For some tips, check out these blog posts
http://joelkallman.blogspot.be/2010/10/custom-authentication-scheme-for-Oracle.html
http://Zetetic.net/blog/2010/12/10/updating-page-sentry-for-Apex-40-upgrade.html
http://timnzblog.WordPress.com/2010/09/13/application-express-and-JanRain/
(from the last blog :) code example
FUNCTION PAGE_SENTRY
RETURN BOOLEAN
IS
l_username VARCHAR2(512);
l_session_id NUMBER;
BEGIN
IF USER != 'APEX_PUBLIC_USER' THEN
RETURN false;
END IF;
l_session_id := wwv_flow_custom_auth_std.get_session_id_from_cookie;
-- check application session cookie.
IF wwv_flow_custom_auth_std.is_session_valid THEN
apex_application.g_instance := l_session_id;
l_username := wwv_flow_custom_auth_std.get_username;
wwv_flow_custom_auth.define_user_session(
p_user => l_username, p_session_id => l_session_id);
RETURN true;
ELSE
OWA_UTIL.REDIRECT_URL('f?p=RPXAUTH:LOGIN:'||
nv('APP_SESSION')||
'::::RETURN_APP_ID,RETURN_PAGE_ID:'||
v('APP_ID')||
','||v('APP_PAGE_ID'));
END IF;
RETURN false;
END page_sentry;
Perhaps others have more recent links, but that's where you should look. I have not set myself up again, however, so I can't really be much more help on this.
Tags: Database
Similar Questions
-
How can I schedule a daily task that accesses a web page?
I want to access the following web page every day. http://acbldistrict22.com/534/daily.php?userid=userid & PW = Password
How can I automate this in WIN7?
It is possible to create a macro with an add on in Firefox https://addons.mozilla.org/en-US/fire.../imacros-for-firefox/
However Firefox must be opened manually.If you want to run a script run by Windows 7 orders of command line for Firefox can be referenced here: https://developer.mozilla.org/en-US/d.../Command_Line_Options
-
How to send an email with the link that has the user id?
Hello everyone, I'm trying to send an email with the link that includes the user id. After users click the link, they should be able to see the form with their information that has been previously fulfilled. So my question is after I have send email how and what is the best way to get information and show it to the user. What should be separate page with the cfquery limited on the id user or something else? If anyone has an idea of what is the best way to do it please let me know. I already have my code who send e-mails.
You save all the fields submitted initially to a database? If so, run a query and then convert them to the form field, query values. I don't know what looks like your data (or database), but a simplified version might look like this.
SELECT FirstName OF SavedFormTable
WHERE ID =
-
Links that open in another Page
I try to open my links in another page, so that my site remains open. I guess it is something very simple, but I can't understand how do.
Thanks a bunch!
Dave
In the tab of the Inspector, the target must be set to
_blank
I hope this helps.
Carol
Subject: Links that open in another Page
I try to have my links opening in another page, to keep my site
Open. I guess it is something very simple, but I can't figure out how
to do.
-
I can not download itunes. I have windows vista. I get the error message: does not have a valid digital signature that verifies the publication server
Hi klofcc,
1. are you able to download and install other applications without any problem?
2. What is the full error message?
I suggest that you try the steps from the following links to the article and check if it helps:
Problem installing iTunes or QuickTime for Windows
I hope this helps.
-
How to remove photos from a mac that I get rid of without losing these photos on devices that I keep
How to remove photos from a mac that I get rid of without losing these photos on devices that I keep
Do not use iCLoud photo library - when you make any changes on any device are made on all devices
LN
-
How to have a different DNS host name to the host name of VICTORIES?
How to have a different DNS host name to the host name of VICTORIES?
You are welcome-
Chapter 18, "Dynamic Host Configuration Protocol (DHCP).
http://redhat.activeventure.com/9/customizationguide/ch-DHCP.html
Chapter 7 - resolution of host name
http://TechNet.Microsoft.com/en-us/library/bb727005.aspx
And, again
TechNet Windows Server Forum
http://social.technet.Microsoft.com/forums/en-us/category/SQLServer
-
I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!
Thank you more:Steve Vidacs /HungaryOn Monday, November 5, 2012 20:14:15 + 0000, istvanvidacs wrote:
I have Win7/64. But I don't know, how I have my USB webcam to work. The cameras settle the program will not work. Please help me!
You must have installed a Windows 7 64-bit driver (if it exists)
for this. Do you have? Otherwise, navigate to the web site of the camera
manufacturer, search, download and install it.Ken Blake, Microsoft MVP
-
With the help of Photoshop CC on my MacBook Pro (bought a few months ago)... The question I have is that under the filter options, when you select made... There is no option use lighting effects... any suggestions?
Hello
Please make sure that you work in 8 bits/channel and RGB mode. (Under Image > Mode > Select RGB and 8-bit per channel) lightning effects only works in this mode.
Also in preferences > Performance > "Use Graphics Processor" must be checked.
~ Assani
-
I'm trying to follow the video to "Change color" and I don't have a lot of options that uses the presenter. I'm on a PC. Can someone walk me by changing the color of an object step by step?
Sorry for the delay. Here is the video
-
I have that on the Home page of the site and the House only. The opening of Chrome or Safari latest menu 3 buttons do not work. But works fine in Solution Explorer and weird Firefox.Its. The site is baystatewiring.com see if you have the same problem. Does anyone have an idea?
Add style = "" overflow: hidden ";" in your header tag:
or add it to the css:
#header {}
overflow: hidden;
}
-
How to create a generic method to programmatically access the DB sequence in oracle adf
Hello
I am trying to create a generic method to access a programmaticall DB Sequence in oracle adf. My version of JDeveloper is 11.1.2.4.
I created a method getSequenceNumber (String seq) and saved in my application module. Also added to the links of my page.
I followed the instructions below link for this.
ADF Code corner: Oracle OTN JDeveloper harvest xx / 2010
Note: The problem with this approach is that I have to create separate methods to access the different sequence numbers.
In my managed bean, I wrote the code below to get the method name.
OperationBinding getNextSequence = ADFUtils.findOperation ("getSequenceNumber");
How can I pass my sequence DB name to this method?
Thank you
Hello
getNextSequence.getParameterMap.put ("seq", "yuorseqname");
getNextSequence.execute ();
-
I chose my resolution of windows xp to the highest frequency screen and my screen become black and displayed out of reach, I restarted my pc, but when it came to the login page my screen shows again her even, how can I get it back?
Hi hcosdihv,
Start the PC in safe mode then go back to the display settings and set the resolution to a lower level.
You start in Mode safe by constantly pressing the F8 key as your PC starts. A menu will appear and you must select the Safe Mode option.
Once you have changed the screen resolution, you can restart your PC normally.
Make sure that you "only" to select an output of the range option.
This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.
John Barnett MVP: Windows XP Expert associated with: Windows Desktop Experience: Web:http://www.winuser.co.uk; Web: http://xphelpandsupport.mvps.org; Web: http://vistasupport.mvps.org; Web: http://www.silversurfer-guide.com
-
Original title: shared folder
try to share files and folders between my laptop and my pc... When I try to access partitions shared between them = I got this msg: "you don't have permission to access the file or folder you are trying to access. Contact your network administrator to request access"can u help?
Hello
Follow these steps:
Step 1: Make this file and printer sharing is enabled, computers.
Follow the steps listed in the link below to check the parameters and the essential elements to share files over the network:
http://Windows.Microsoft.com/en-us/Windows7/file-sharing-essentialsAlso check if network discovery is enabled, the computer. Steps to follow:
i. click on Start, click on Control Panel.
II. Select network and sharing Center
III. Select change advanced sharing settings
(IV) in respect of network discovery, select Enable network discovery
Step 2: check the sharing permission on the shared folder.
http://Windows.Microsoft.com/en-us/Windows7/share-files-with-someoneStep 3: you can also try to disable your firewall program and security and then try to access to the shared folder. Make sure that you activate it if this step does not help.
Note: Antivirus/Firewall software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.In addition, see these articles:
http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-other-computers
-
I need to contact ADOBE customer service, I just bought adobe photoshop and elements for windows first, but I have a Mac. Can I change the purchase? Thank you. Mauro
To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Get help from cat with orders, refunds and exchanges (non - CC)
http://helpx.Adobe.com/x-productkb/global/service-b.html ( http://adobe.ly/1d3k3a5 )
Maybe you are looking for
-
My Favorites from my iMac synchronize not in all my devices?
Why aren't my favorites from my iMac synchronization in any of my devices?
-
HP Pavilion dv7: enter the password administrator or power on password
The code that I get after trying 3 times is 71781847. Thanks for your help.
-
Guaasian pic made results differ from other software fiitting results
Hi, I do pic Gaussian fix as shown by the example of estimators of labview on an image. But when the same data are mounted by origin or Matlab results differ from that of Labview. Can someone tell me why this is happaning?
-
Cannot install windows vista service pack 1
I wanted to upgrade windows vista home edition premium to windows vista sp1.however when I was installing, it says the installation failed. and an internal error had interrupted the installation. is the error code: 0x8007000D. and there is a link for
-
Why can't I just print and fax wireless?
I tried everything and still can't print and fax wireless