Using &SESSION. in URL

I've got a little table with links and labels that I base several reports off of. One of the links is to a page in the application, and the page the report is on needs to be authenticated, and I'd like to pass the session id in the url to this other page in the application, as it should be authenticated as well, but I'd like to have the users not have to log into this other page that is linked from the report.
Long story short, I have my url: <server_info, dad, blah blah blah>/f?p=100:4:&SESSION.
But it doesn't actually pull the sesson id, it just uses that literal URL. Is this something that should be possible?
thanks.

I'm not sure I understand your solution. My region source is: Select url, date_added, link_label from team_links where link_type = 'HTML' order by link_label;
Then in my report, I have date_added and link_label as columns. The link_label column is a link. Link text is #LINK_LABEL# and the target is a URL. The value in that field is #URL#. I then have an updateable report page where these links can be added/updated. When I entered the URL for this particular link that's supposed to go to another page in the application, I tried using the &SESSION. substitution string at the end of the URL. I've also tried v('APP_SESSION') and :APP_SESSION. I'm obviously missing something, or maybe I'm trying to do something impossible.
thanks

Similar Messages

  • If user disable cookie how to set and use session with URL Rewritting

    if user disable cookie how to set and use session with URL Rewritting by append session ID in url

    If cookies are disabled, then app server will automatically try to use URL rewriting for session control. Programmer's responsibility is to encode any links or redirects using
    response.encodeURL("/yourPage.jsp")
    and
    response.encodeRedirectURL("/yourPage.jsp")
    See API for details
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String))

  • Use SESSION variable in URL from HTML region

    Hello,
    I have what looks like a simple question but i've been struggling with it for three days now, and i need your help!
    I have a page, with an HTML region. I want to display some links to other pages within the application, so i thought i'd use this:
    a href="http://server.xxxx.com:7777/pls/htmldb/f?p=114:13:&SESSION"
    But the session ID is not interpreted, and the link doesn;t work. Any idea what's wrong here? or how i should create links with the session id in it?
    Thanks!!!! Matt
    Message was edited by:
    matt_amsterdam

    Matt,
    You've missed off the period (.) off the end, use &SESSION. instead

  • Page Specific Persistence using Session Variables

    Hi, I have read a lot about using session variables to persist the ReportDocument object across page loads.  This works fine if you have just one page open with one report.  The problem I am having is I have a web application that makes 30 or 40 different reports available to the user.  To simplify the code and make it easier to add new reports I have developed a single template aspx page that can be used to view any of the reports.
    My problem is that if the user opens 2 different reports in 2 separate tabs in the browser then the session variable persistence doesn't work because the session variable is available to both tabs.
    Is there a way to persist the ReportDocument object which is 'page' specific.
    Thanks

    Your best option is likely to have something that makes the session variable names unique.  I've done such things as putting the current datetime in the url as a querystring parameter and appending that to the variable name.  On each postback that querystring should persist.
    You might be able to use the reportclientdocument object and serialize the report and persist through view state, haven't tried this with inproc ras though.  A sample that uses the ras sdk can be found [here|http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples]

  • Cisco ISE - Not use FQDN in url-redirect parameter

    Hi,
    I am using Cisco ISE Central Web Authentication for Guest Wireless. Clients are redirected for web authentication to: https://ip:port/guestportal/gateway?sessionId=SessionIdValue&action=cwa as it is specified by the url-redirect parameter in the Authorization Profile.
    The “ip” field in the url is now replaced by the FQDN of the Cisco ISE, but I want to use the IP address instead of the FQDN. Is there any way to do that?
    As far as I know in version 1.2 you can use the “ip host/no ip host” command to indicate what you want to use in the URL. However my Cisco ISE is running version 1.1.1.268.
    Thank you very much.
    Joana.

    Available in 1.2, and available as a "bit of a bodge" in 1.1.x  (read "a lot of a bodge")
    If you only have one PSN then you may be able to get it to work, but after that you lose the ability to get the session to be pointed automatically at whichever PSN they hit initially so it would break.
    Copy the settings that are applied when you use CWA, then create your own based on the same settings but using the ip address pasted in there instead.

  • How to use session state protection

    I use Apex 3.2.1
    I access my site by a url passing a parameter like this : f?p=101:1:0::::ITEM1:1234567. There is no login and password to access the site.
    The value of the parameter ITEM1 is the authorization of the first page, with a database function for the verification.
    To secure my site I want to use session state protection so, I enabled it , then I defined "Arguments Must have checksum" for the page 1.
    Now , when i try to acces my site with the same url it does not work.
    it is the first time a try to use session state protection, could someone tell me what's wrong?

    Hi user5719906,
    I would suggest that as you need to pass an item and are unable to generate a checksum as you are not yet logged in, that you will need to allow arguments without checksum for this page.
    This could be a bit of a hole in your security, but as long as you know it is there and clear the cache for all pages that you branch to, you should be able work around it.
    The issue is that a malicious user can set page and application items via the url to an unsecured page.
    Regards
    Michael

  • Embedded OWD interview within a Siebel applet using a Symbolic URL

    I'm trying to embed the actual Web Determinations interview within a Siebel applet (this will allow our internal Siebel users to use the exact same interview as is avialable to external users). I'm using Siebel OOB Symoblic URL Configuration within an applet.
    Currently I have the Web Determinations up and running, the Siebel applet is correctly displaying the Web Determinations interviews and I can successfully click an interview link to begin an investigation inside the Siebel applet.
    My problem is that once I answer the first set of questions and click the first Submit button at the bottom of the very first interview page. My IE window appears to be overtaken by the Web Determination interview. It navigates me out of Siebel and the embedded applet where the interview was running and uses the entire browser window for the next interview page. The interview also stops responding.
    For my Siebel Symbolic URL configuration I'm using the following parameters.
    URL
    Url to my web determinations
    FixUp Name
    Inside Applet
    SSO Disposition
    IFrame
    any tricks to this (browser setttings, Symbolic URL settings, etc) or does anyone have experience embedding an interview inside a Siebel applet?

    Under WEB-INF\classes\configuration, in the expanded WAR located in the app server directory
    Open appearance.properties and scroll down a little
    You should see a section on frameset
    Make the following changes
    use-session-frameset=false
    frameset-top-target=_self
    commentary-target=commentary_frame

  • Using session in Web Service

    Hello friends;
    I have a question. Can � use session in webservice? Does Web service support session? I searched but didn' t find a good result.

    This has been logged as a bug and was upgraded to severe in March, but nothing has been done on it as far as I am aware. Beware this bug also affects global temporary tables--the same session and everything related to --including session context variables and global temp tables are shared by every call to the web service.
    Service Request 6067517.994 - SYS_CONTEXT SESSION DATA IS NOT PRIVATE BETWEEN MULTIPLE CLIENT SESSIONS has been updated by Oracle Support with relevant information on 18-JAN-07.
    To view the progress on-line via MetaLink, go to this URL:
    http://metalink.oracle.com/metalink/plsql/tar_main.this_tar?tar_num=6067517.994&p_ctryCode=840

  • OTA Provisioning - Midlet-Install-Notify session tracking / URL rewriting

    Hi all,
    While developing an OTA provisioning platform, I got stuck at the nearly end of solution(User Tracking), hopefully a small thingy for you.
    Now looking for a solution/help/advice (Thanx). The details are
    I am developing an OTA Provisioning platform for Java Games . Herez the flow:
    -> End User (Client) requests a content by entering his mobile no. via website
    -> Server sends a WAP PUSH (Binary SMS) to his mobile.
    -> When User opens the WAP PUSH (SMS), it will connect via GPRS to the server and start retrieving the game ( I am using Servlet to stream the JAD File)
    -> Then it will retrieve JAR file (path defined in JAD file)
    -> I have defined:
    MIDlet-Install-Notify: http://myserver.com/content?323
    in JAD File. So after Installation the Mobile handset connects the URL specified. I am then grabbing the status code i.e 900 or 901 ....
    Problem:
    User Tracking: I am not able to track the user for billing purpose e.g there are number of users each having unique Ids. When they download the content the Install-Notify connects to servlet but i am not able to distinguish among users as i am not able to dynamically assign User ID to MIDlet-Install-Notify URL in JAD File.
    I am in now in real trouble. If any one knows the solution how to maintain session or URL rewriting i.e dyanmically assign Parameters to MIDlet-Install-Notify plz share it.
    Thanks in advance
    cheers
    Hamid
    [email protected]

    Actually, this is not too hard: all you need is a server generating or at least processing the JAD-files. Then you can process the JAD file before it gets downloaded to the mobile device and add a parameter with the unique ID. Send this unique ID with each request of the MIDlet, and your done...
    Code obviously depends heavily on your server technolgy and application architecture (e.g. database used etc.), on the MIDlet-side you need MIDlet.getAppProperty(String propertyName) (instance method of MIDlet).
    Hope this helps,
    david

  • Can we use session variables in BI publisher's Data Model SQL Query?

    Hi Experts,
    We need to implement Data level security in BI Publisher 11g.
    In OBIEE we do so by using session variables, so just wanted to ask if we can use the same session variables in BI Publisher as well
    ie can we include the where clause in the Data Models SQL Query like
    Where ORG_ID = @{biServer.variables['NQ_SESSION.INV_ORG']}
    Let me know your views on this.
    PS: We are implementing EBS r12 security in BI Publisher.
    Thanks

    Read this -> OBIEE 11g: Error: "[nQSError: 23006] The session variable, NQ_SESSION.LAN_INT, has no value definition." when Creating a SQL Query using the session variable NQ_SESSION.LAN_INT in BI Publisher [ID 1511676.1]
    Follow the ER - BUG:13607750 - NEED TO BE ABLE TO SET A SESSION VARIABLE IN OBIEE AND USE IT IN BI PUBLISHER
    HTH,
    SVS

  • How to set up use of relative URLs for a BSP application

    Dear all,
    I need to access a BSP application through our external portal.
    This is failing because generated URLs are absolute URLs (they mention physical server name, not known of course on the internet) where they should be relative URLs (they use external portal URL as prefix).
    How to set this up?
    I'm logged on http://myportal.com/irj/portal and want to call a BSP application. To build this page, my internet client (Internet Explorer) tries to get elements from the server. Looking at HTTP trace, I can see that my IE is trying to reach the physical server, not known on internet of course, then page loading fails.
    Ex absolute URL : http://myservername.domain.com/sap/bw/[...]/image1.gif
    This is the behavior I can see at the moment.
    Relative URL : http://myportal.com/sap/bw/[...]/image1.gif
    This is what I'd like to see.
    Many thanks in advance for your help.
    François

    Any idea ?

  • Migrating to Sharepoint 2013 from 2010 - Can you use the same URL for the Web Application without affecting the 2010 environment?

    Hi,
    I am currently trying to migrate our SharePoint 2010 environment to SharePoint 2013. The first thing I'm doing is creating a 2013 development environment to verify that this migration goes smoothly. I'm also doing this so that we will have a testing environment
    after the upgrade to 2013 is complete. 
    So here is my question: I have a 3 tier farm including; 1 app server, 1 wfe, and 1 sql server. I have made a copy of our SharePoint 2010 database and installed that on our sql server 2012 sever (This new environment is on 3 completely separate servers from
    our 2010 environment). I have also installed the prereqs and configured SharePoint 2013 on the App server and wfe servers, as well as configuring the necessary service applications (I have created a completely new 2013 database where I will migrate my 2010
    database content when I'm ready).
    I am now at the point where I need to create a new web application on the 2013 app server, where I will be migrating the copied 2010 database.  (Also note that we have a 2010 development site called https://[email protected])
    When I go to create a new web application in our 2013 dev environment, can I use the same url (https://[email protected]) to create this web app, or will this screw up our current 2010 dev environment?
    I'm new to SharePoint migrations, so I apologize if this is a stupid question.
    Thanks in advance for any insight you can share on this!
    Boe Barlage

    So, what you are recommending is that before I create a web application in my new 2013 environment, I need go into my hosts file on my 2013 app server and alter it to point to my 2013 wfe.
    Then after I do that, then I can create my new web application on my 2013 app server with the same url as my 2010 testing environment
    (https://[email protected]). 
    Then after that I should be able to access my new sharepoint 2013 environment at the same URL (https://[email protected])?
    I must be missing something.
    In your first reply, you told me to alter the host file on my 2010 app server and point it to my 2010
    wfe (I guess I thought it probably already is). You also told me to alter the host file on my 2013 app server and point it to my 2013 wfe. 
    so I am confused on after I do this, what url would I access my 2010 test environment, and what url would
    I access my 2013 test environment?
    I am fine with having my test environment as a different URL until I am totally ready to roll everything over and kill the 2010 site. But I want to make sure that when I migrate my database, none of the site links are broken.
    I also want to make sure that if I proceed this way, I want to be sure that I will be able to modify the URL to what my 2010 environment is (without a lot of headaches) when I am ready to kill the 2010 site.
    Thanks again for your help, it's much appreciated!
    Boe Barlage

  • I want the phone version of my site to use the same url as the desktop version. How can I do this without the "phone" extension in the url?

    How do I get the phone version of my site to use the same url as the desktop version -- without the "phone" extension.  when someone posted a link to my site, they posted it from their phone and it included /phone. Now when people click on it - - it goes straight to the phone version of the site.

    Please refer to similar post here :
    https://forums.adobe.com/thread/1577934?sr=inbox
    Thanks,
    Sanjit

  • How to use Session scope in jsp page

    Hello, I have login form, where user provides username and password. Then click on submit, it will forward to validation.jsp. Where it will check in database make sure username and password exit. Now i can also retrive accountid of perticular user. I want to put that username and accountid in session scope. so all other pages can use that username and accountid. How can i do that. I'm new at this, so please provide me example too. Here is my code for login.jsp and validation.jsp..
    Validation.jsp
    <%@ page import="java.util.*" %>
    <%@ page import="java.sql.*" %>
    //String name = request.getParameter( "username" );//
    //session.setAttribute( "accountID",accountID );//
    <%
    String connURL = "jdbc:oracle:thin:@orca.csc.ncsu.edu:1521:ORCL";
         Connection conn = null;
         Statement stmt = null;
         ResultSet rs = null;
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    conn = DriverManager.getConnection(connURL, "vapatel","pjdas");
    stmt = conn.createStatement();
    String user=request.getParameter("userName");
    String password=request.getParameter("password");
    boolean entrance=false;
    stmt.excuteQuery("SELECT AccountID From Password WHERE USERNAME='"+user+"'");
    rs = stmt.executeQuery("SELECT * FROM Password WHERE USERNAME='"+user+"' AND PASSWORD='"+password+"'");
    while(rs.next()){
    String dbUser = rs.getString("USERNAME");
    String dbPassword= rs.getString("PASSWORD");
    if ((user.equals(dbUser)) && (password.equals(dbPassword))){
    entrance=true;
    if (entrance==true){%>
    <jsp:forward page="form.jsp"/>
    <%}
    else{%>
    <jsp:forward page="login.jsp"/>
    <%}
    %>

    hi,
    to put something into session scope in a jsp page use:
    session.setAttribute("counter", Integer.toString(5));to retrieve is from a jsp page use:
    String counterAttribute = (String)session.getAttribute("counter");

  • How can I read a form using session in javaServerlet?(thanks)

    How can I read a form using session in javaServerlet?(thanks)

    you can not. You get the form entries through the request object.

Maybe you are looking for

  • Pics from Iphone4  to my laptop

    I cant get my pictures from my iphone to my laptop. Can someone help me with this? (What i do after my iphone is connected with the laptop, is going to 'my computer' dan i click on the iphone, but none of my pictures from my iphone is available there

  • Function module "CALL_FILE"

    Hi all, I'm writing an ABAP to generate a text file. In my selection screen, there is a parameter of type RLGRAP-FILENAME for accepting a file path and file name To assist the file input, I use the function module "CALL_FILE" at selection screen on v

  • ADF query panel with table, adding new search fields dynamically

    I am a beginner very new to ADF world. I have a ADF query panel with table which has its source from a ViewCriteria. I need to add a new search field on the form dynamically based on the user's need. Assume I am using a Employee table and I have sear

  • F-32 the entry is missing in table

    Hi , When we are performing the transaction F-32, we are getting the below error message " The entry YYY is missing in table T043G ". However, I could find the tolerance groups attached to this company code YYY in OBA3. I have serached the forum and

  • Ora-12545 strange error

    Dear friends I have one strange error in Oracle 8.1.7 , Windows NT server. We have 4 databases in a same box. All are working fine till yesterday. Today morning I am facing this problem. I can not connect to one database out of four from any client.