URL to pipeline session

I have a quick question. I am writing a design of a system which will need to
populate the pipeline session state directly from a URL. i.e. A user will click
on a URL that they have received in an email . The URL will have a unique reference
in it which will link into an oracle database. The oracle database will have
many fields which will be used to populate a variety of portlets.
They way i propose to do it, is have the URL link directly to a pipeline component
(can you do this?) and have the pipeline component extract the unique reference
from the URl (can i do this as well?) and from this populate the pipeline session
data for all of the portlets to use and display data.
Is this feasible?
I guess what Im asking is can I pre-populate the Pipeline Session with a lot of
data before any of the portlets are loaded ?
Many Thanks
Zulfi

You can use a wildcard event and connect it to a pipeline component to update the
pipeline session. Include this wildcard event name as part of the URL.
"Zulfi" <[email protected]> wrote:
>
I have a quick question. I am writing a design of a system which will
need to
populate the pipeline session state directly from a URL. i.e. A user
will click
on a URL that they have received in an email . The URL will have a unique
reference
in it which will link into an oracle database. The oracle database will
have
many fields which will be used to populate a variety of portlets.
They way i propose to do it, is have the URL link directly to a pipeline
component
(can you do this?) and have the pipeline component extract the unique
reference
from the URl (can i do this as well?) and from this populate the pipeline
session
data for all of the portlets to use and display data.
Is this feasible?
I guess what Im asking is can I pre-populate the Pipeline Session with
a lot of
data before any of the portlets are loaded ?
Many Thanks
Zulfi

Similar Messages

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • URL opens new session

    hi,
    I wrote some test client for testing my server. I create URL and call URL.getContent(). This open new session. But I want use one session. How I can use request for same session?
    <code>
    for (int i=0; i<10; i++)
    URL url = new URL(BASE_ADDRESS + "/adetail.jsf?fid=" + i);
    URLConnection connection = url.openConnection();
    // new session is created
    Object content = connection.getContent();
    </code>

    As i stated, when i click links from 3rd party applications, such as skype; a youtube link or something similar. Firefox opens a new session however it does not visit the clicked url

  • Service URL not found:session

    Hi,
    I had written a custom authentication module according to the sample given with SunONE doc. But, when I try to login to the portal server, it is throwing the following exception in /opt/SUNWam/debug/amSSOProvider file.
    how to solve this issue:
    I am using SunONE portal server 6.1
    05/13/2004 07:22:54:260 PM GMT+05:30: Thread[Thread-157,5,main]
    could not create SSOToken from HttpRequest
    com.iplanet.dpro.session.SessionException: Service URL not found:session
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:336)
    at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:316)
    at com.iplanet.dpro.session.Session.getSession(Session.java:233)
    at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:56)
    at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:226)
    at com.sun.portal.desktop.context.DSAMESessionAppContext.getSSOToken(DSAMESessionAppContext.java:67)
    at com.sun.portal.desktop.context.DSAMESessionAppContext.getSessionID(DSAMESessionAppContext.java:99)
    at com.sun.portal.desktop.context.PSDesktopAppContext.getSessionID(PSDesktopAppContext.java:725)
    at com.sun.portal.desktop.context.PSDesktopContextFactory.getDesktopContext(PSDesktopContextFactory.java:91)
    at com.sun.portal.desktop.DesktopServlet.getDesktopContext(DesktopServlet.java:384)
    at com.sun.portal.desktop.DesktopServlet.doGetPost(DesktopServlet.java:413)
    at com.sun.portal.desktop.DesktopServlet.service(DesktopServlet.java:303)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1065)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:959)

    seems like you have cookie encode problem,
    based on your
    container you need to set the following property in AMConfig.properties
    in general for welogic and web sphere contianers you need to set it to true
    com.iplanet.am.cookie.encode

  • Cookies, URL-Rewriting, and Sessions

    Hi All,
    I am aware that this is probably a question that has been asked many times in the past. Nonetheless, I have not been able to fully comprehend the differences. Therefore I would appreciate it, if someone could kindly spend some time explaining the differences between the three and when each would be the most preferred solution. ( cookies, url rewriting and sessions )
    So far what I understand is that, cookies can be used to store small amounts of data not more than 4kb, and that most browsers can not accept more than 20 at a time.... but would it be correct to say that the data is stored within the http headers ?
    URL rewriting, on the other hand is a method which can be used if cookies have been disabled by a browser. The 'session id' is appended to the url, and used to remember the data. ( how ? ). Although, it does mean that the programmer has to be very careful and ensure that rewriting occurs everytime it is passed to the browser, including redirection. ( whatever that means ? )
    Http sessions, seem to be the best solution out of the three ( but if this is the case, why are cookies and rewriting still hanging around today ? And even being taught at universities ? ). Also, they work on top of cookies and if these have been disabled sessions will not work !! ....
    As you can see ( from the above ) I do not have a thorough understanding of the three methods, especially if it comes to specifying the differences between the three.
    I would appreciate an explanation.

    HttpSessions use cookies or url rewritting to pass the session id which the server uses to associate a particular session with a particular request. A well developed web application will be written to use url rewriting when a client has cookies disabled. That being said I yet to see such a web application and personally believe that few people still disable cookies.
    Cookies still have uses.
    Persistant cookies are used to store data that needs to persist between sessions. This data is stored by the browser in a text files and passed to the server in the header. An example of this would be a site that offers personalization would store the user's id so that each time the user accesses the site he would see his personalization without being required to log in. Yahoo is a good example.
    In memory cookies are stored in the browser's memory and is used to store temporary data that goes away when the browser closes. Again this data gets passed to the server in the headers. Temporary cookies can be used to pass data between seperate web applications runing on the same host where storing the data in the session will not because each application has it's own session.

  • SSO Exception Invalid Session: Service URL not found:session

    I am running AM 7 (installed from JES) under Sun Web Server 6.1.
    The Policy Agent is installed in Tomcat 5.5 (on the same box).
    I am getting the exception: SSO Exception Invalid Session: Service URL not found:session
    when I try to run the SSO Serlvet example.
    I have searched the forum and found many people get this error and the advice seems to be check the config file. The Agent config file (AMAgent.properties) has all the right parameters in it (matches the server just fine because I authenticate before getting to the serlvet).
    I've tried to set the naming url thru the JVM command line args and programatically. I've been thru the client SDK install chapter many times.
    Still getting the same error.
    Help!
    Jason

    More info: I set the debug level in the AM server to message and in the amSSOProvider log, I get several Invalid Session ID.
    How could this be when I just successfully authenticated???
    I can also go to other protected web pages, and AM does not force me to reauthenticate, so obviously the cookie is good.
    Any help would be appreciated.
    Jason
    03/20/2006 03:05:03:243 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:07:071 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:07:243 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:08:103 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:10:134 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:17:697 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for com.sun.mobile.cdm.MAPClientDetector$1@d61aef
    03/20/2006 03:05:20:400 PM MST: Thread[main,5,main]
    SSO token ldap auth successful for AuthPrincipal: cn=dsameuser,ou=DSAME Users,dc=ad,dc=gd-ais,dc=com
    03/20/2006 03:05:40:713 PM MST: Thread[service-j2ee-1,5,main]
    could not create SSOTOken for token ID
    com.iplanet.dpro.session.SessionException: Invalid session ID.
         at com.iplanet.dpro.session.Session.getSession(Session.java:700)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:169)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
         at com.sun.identity.authentication.service.AuthUtils.getExistingValidSSOToken(AuthUtils.java:2735)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:288)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    03/20/2006 03:05:40:729 PM MST: Thread[service-j2ee-1,5,main]
    could not create SSOTOken for token ID
    com.iplanet.dpro.session.SessionException: Invalid session ID.
         at com.iplanet.dpro.session.Session.getSession(Session.java:700)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:169)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
         at com.sun.identity.authentication.service.AuthUtils.getOrigRedirectURL(AuthUtils.java:1443)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:293)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    03/20/2006 03:05:40:729 PM MST: Thread[service-j2ee-1,5,main]
    could not create SSOToken from HttpRequest
    com.iplanet.dpro.session.SessionException: Invalid session ID.
         at com.iplanet.dpro.session.Session.getSession(Session.java:700)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:99)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:242)
         at com.sun.identity.authentication.service.LoginState.getUserDomain(LoginState.java:1065)
         at com.sun.identity.authentication.service.LoginState.createAuthContext(LoginState.java:1108)
         at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:310)
         at com.sun.identity.authentication.service.AuthUtils.getAuthContext(AuthUtils.java:250)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:325)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    03/20/2006 03:05:40:760 PM MST: Thread[service-j2ee-1,5,main]
    could not create SSOToken from HttpRequest
    com.iplanet.dpro.session.SessionException: Invalid session ID.
         at com.iplanet.dpro.session.Session.getSession(Session.java:700)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:99)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:242)
         at com.sun.identity.authentication.service.AMLoginContext.processIndexType(AMLoginContext.java:1411)
         at com.sun.identity.authentication.service.AMLoginContext.executeLogin(AMLoginContext.java:211)
         at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:321)
         at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:257)
         at com.sun.identity.authentication.server.AuthContextLocal.login(AuthContextLocal.java:177)
         at com.sun.identity.authentication.UI.LoginViewBean.getLoginDisplay(LoginViewBean.java:734)
         at com.sun.identity.authentication.UI.LoginViewBean.processLogin(LoginViewBean.java:687)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:408)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    03/20/2006 03:05:45:604 PM MST: Thread[service-j2ee-3,5,main]
    could not create SSOTOken for token ID AQIC5wM2LY4SfcxwMjkeu5nCkvTykKfesYTyhaYeoECCIyQ=@AAJTSQACMDE=#
    com.iplanet.dpro.session.SessionException: Session state is invalid. AQIC5wM2LY4SfcxwMjkeu5nCkvTykKfesYTyhaYeoECCIyQ=@AAJTSQACMDE=#
         at com.iplanet.dpro.session.Session.refresh(Session.java:1046)
         at com.iplanet.dpro.session.Session.getSession(Session.java:725)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:169)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
         at com.sun.identity.authentication.service.AuthUtils.getExistingValidSSOToken(AuthUtils.java:2735)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:288)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    03/20/2006 03:05:45:604 PM MST: Thread[service-j2ee-3,5,main]
    could not create SSOTOken for token ID AQIC5wM2LY4SfcxwMjkeu5nCkvTykKfesYTyhaYeoECCIyQ=@AAJTSQACMDE=#
    com.iplanet.dpro.session.SessionException: Session state is invalid. AQIC5wM2LY4SfcxwMjkeu5nCkvTykKfesYTyhaYeoECCIyQ=@AAJTSQACMDE=#
         at com.iplanet.dpro.session.Session.refresh(Session.java:1046)
         at com.iplanet.dpro.session.Session.getSession(Session.java:725)
         at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:169)
         at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
         at com.sun.identity.authentication.service.AuthUtils.getOrigRedirectURL(AuthUtils.java:1443)
         at com.sun.identity.authentication.UI.LoginViewBean.forwardTo(LoginViewBean.java:293)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:981)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

  • URL to set session properties?

    Is there a URL to SET session properties?  I know I can get a list of them by calling "/XMII/PropertyAccessServlet?mode=list&Content-Type=text/xml", but is there a way to set them in a similar manner?

    Hi all,   If you want me to start a new thread let me know...
    I'm having funky, although repeatable, results using the URL to set a session parameter via AJAX call,
    which always gets a Successful message.
    /XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=60
    I am verifying the session parameter 2 ways:
    1.  Refresh the page and view source  (I took the lt and gt out)
    ...............span id="savedPlantId" style="visibility:hidden;"
    2.  AJAX call to /XMII/PropertyAccessServlet?mode=List
    Quirk #1:   I see the value in the span.  I do not see it in the servlet list.
    Quirk #2:   I can change the value a couple (2 or 3 times) then it doesn't change after that
    Quirk #3:   When it stops changing via the AJAX call, I can still change it with a browser URL
    http://<server>:50000/XMII/PropertyAccessServlet?mode=Store&PropName=plantId&PropValue=199
    Any hints or ideas? 
    Yes, I am trying to use a single pixel applet, but having trouble with that too!  See a different post. 
    I really would prefer to use the URL as there is no visual indication to the user
    and an applet (and JVM) doesn't have to load.
    --Amy Smith
    --Haworth
    Oh, and P.S.   Is there a mode=Delete to remove the session parameter?

  • Url iview - application sessions maximum reached.

    Hi,
    In a role there is an url iview created for a visual composer application. The role contains four such iviews. When the user clicks in an order say iview1 - iview2 -iview1 - iview2 -iview1 - iview2 . On the seventh time its showing an error.
    'The maximum number of application sessions for this user session has been exceeded. At least one of the running application sessions must be closed before a new one can be started.'
    When I tried to open the same iview using the link open in new window multiple times on the seventh time its showing the same error.
    When I closed one window and refresh the window which is having error the iview comes properly.
    So from these my guess is that the iviews open the windows internally and not closing it. So we are getting this error.
    Kindly let me know wheter i am correct and guide me how to resolve this.
    Best Wishes
    Idhaya R

    Hi IdhayaR,
    Could you solve this moving a parameter or how did you solve the session problem?
    Thanx in Advanced!
    Kind Regards,
    Gerardo J

  • Always use URL Rewriting for session tracking?

    All you JSP guru:
    I am working on a JSP project that requires session tracking. I have successfully implements session tracking with both cookies or URL rewriting. I know that with the HttpSession object, it will always try to use cookie first, if that's disabled, then it'll automatically switch to URL rewriting. However, is there a way to force the HttpSession object to ALWAYS use URL rewriting instead of cookies? I have searched for an answer for a long time and haven't been able to found a solution. Is it possible at all? Thank you very much.

    i was going to say that WebSphere always uses URL rewriting if you enable it at all, but someone beat me to it (indirectly) :-)
    however, that seemed to me to be a violation of the spec, which seemed to imply the behaviour you're describing (only use URL rewriting if cookies are not supported on the current client)
    here's a response someone else made on a websphere newsgroup to a statement in that regard:
    I believe you are technically correct. However from my
    experience, I think the spec if flawed in this area since
    there is no reliable way of determining whether the
    client browser supports cookies. The authority on
    cookies (www.cookiecentral.com) says:
    "To properly detect if a cookie is being accepted via
    the server, the cookie needs to be set on one HTTP
    request and read back in another. This cannot be
    accomplished within 1 request."
    This is asking too much of a servlet engine
    implementation. Even if it did submit a request for this
    purpose, the user could refuse the cookie. So
    then technically the browser supports cookies, but the
    servlet engine infers it doesn't. So if the servlet engine
    infers the browser does not support cookies and so
    encodes the URL, it is again out of spec because the
    browser really does support cookies. By doing it
    however encoding is configured makes things simpler,
    robust, consistent and avoids the flaw.
    My opinion.so, mostly i'm just rambling, but if you're using websphere, you should get the behaviour your boss wants. if you're using something else, i suppose there's a chance it'll "violate" the spec in this same, potentially helpful way.
    btw, i remember somebody else complaining that URL rewriting is less secure than cookies, but i kinda think they're about equal. it seems like either could be intercepted by a sniffer and then used to spoof. but i'm no expert in that stuff...

  • UWC - Invalid URL after a session timeout

    Using Communications Express 6.3 (122793-12), when a user's session times out their browers is redirected to:
    http://my.server.com/base/UWCMain?op=logout
    which generates a 404 File Not Found error. I believe the URL needs to be:
    http://my.server.com/uwc/base/UWCMain?op=logout
    Where can I set this?
    Thanks,
    Scott

    Having a similar issue to the original poster, but not quite the same.
    We've just upgraded to Messaging Server 6.3, with pretty much the latest
    patch sets installed for the various components.
    # imsimta version
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 64bit)
    libimta.so 6.3-6.03 (built 17:30:55, Mar 14 2008; 64bit)
    Using Messaging SSO with the following configutil params,
    local.webmail.sso.enable = 0
    local.webmail.sso.singlesignoff = 1
    local.webmail.sso.uwccontexturi = uwc
    local.webmail.sso.uwcenabled = 1
    local.webmail.sso.uwclogouturl = http://webmail.wright.edu/uwc/base/UWCMain?op=logout
    CommExpress is installed on a separate server (Solaris9/Sparc). In our case thought when
    a session times out, the URL that's presented is
    https://base/UWCMain?op=logout
    Note that I have ssl enabled for CommExpress. I initially I had the uwclogouturl set to use
    https which resulted in the same url above which is missing the host information and leading
    url path. I had just changed it this morning to see if the behavior would change with straight
    http with no difference.
    CommExpress is running under Sun Java System Web Server 7.0U3 B06/16/2008. I have a
    similar setup in test with CommExpress running on the same server as the MTA and it works
    ok there, just not in production on a separate server.
    As things stand right now, once a session times out, a user has to shutdown their browser
    to start a new CommExpress session.
    I just put a call in to Sun, but wondering if anyone has run into this before?
    Thanks.
    Update: after talking with support, just realized I'm 2-3 revs behind on the latest UWC patch
    (122793). Not sure how I missed this one. Looks like bug-id 6598975 patched in 122793-18 may
    fix this one.
    Edited by: john_meyers on Sep 2, 2008 10:58 AM

  • E-Mailed URL - Use Existing Session?

    I send email to someone and in the message is a URL like this:
    http://edwdev:7779/pls/htmldb/f?p=odar:request::::::P16_REQUEST_SEQ:100065
    This works fine except the URL always starts a new session. You're prompted for a user name and password.
    Is there a way to have the URL open up using an existing application session? If you have already logged into the application, the page would be opened without you being prompted for a user name and password.
    -F

    Here's my debugging information.
    -F
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979:4"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="4"
    s_new_page_id_or_alias="4"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:4:5622426559100836979:"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:4:5622426559100836979:')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
    ====== start before_header_process =====
    s_current_url="p=odar:login:5622426559100836979"
    n_session_id_from_cookie=(Null)
    n_current_session_id=5622426559100836979
    s_app_id_or_alias="odar"
    s_page_id_or_alias="login"
    s_sess_id_from_url="5622426559100836979"
    s_remainder_of_url="(Null)"
    s_new_page_id_or_alias="(Null)"
    n_session_id_from_cookie <> n_current_session_id
    b_login_required=True
    n_new_session_id=5622426559100836979
    s_new_url="odar:about:5622426559100836979"
    HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
    HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
    HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
    OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')

  • URL,URLConnection,HttpURLConnection &&Session

    Hi,all
    I want to access a web page by URL/URLConnection/HttpURLConnection
    the page need a login user,it check the Session,if the session is null,then it redirect to the login page
    Now I have the user ID and Password ,and I can complete my login by URL Class
    but when I access the wanted page after I login,it's still return that the session is not set.
    below is the Code Segment,thanx in advance
    String urlStr = "http://buyc:8080/ecommerce/oa/login.jsp?txtUsername=sh001&txtPwd=111111&role=storeman";
    URL url = new URL(urlStr);
    HttpURLConnection hurlc =(HttpURLConnection) url.openConnection();
    hurlc.setFollowRedirects(true);
    hurlc.setInstanceFollowRedirects(true);
    hurlc.setUseCaches(true);
    hurlc.connect();//if check login successfully in login.jsp,it will redirect to a check page.
    InputStream is=hurlc.getInputStream();//
    byte tmpbyte[]=new byte[is.available()];
    int num=is.read(tmpbyte);
    String result=new String(tmpbyte);
    System.out.println("the " + num + ":" + result);

    IIRC, you use the UrlConnection's methods getHeaderField and getHeaderFields to get the cookies, and then setRequestProperty to set the cookies on subsequent connections. These methods are inherited by HttpUrlConnection.
    There may be a library out there to make this stuff easier, but I don't think it's in the standard libraries.

  • URL Not Changing Session State Variables Specified

    I am trying to change a variable on a target page with a URL, however, the variable never changes. The variable is set to 8. I send the following URL which should change it to 0 but it does not change.
    We just recently upgraded to 1.6
    Why is this not working. It still works on pages I designed prior to the upgrade, but I can't get it to work since the upgrade.

    I am trying to change a variable on a target page with a URL, however, the variable never changes. The variable is set to 8. I send the following URL which should change it to 0 but it does not change.
    We just recently upgraded to 1.6
    Why is this not working. It still works on pages I designed prior to the upgrade, but I can't get it to work since the upgrade.

  • I use firefox 8 (no update wanted ) and recently my session restore quit functioning properly- it does not restore, and i get " url not valid - session not rest

    ored" - but it seems to do ok if i use file/exit......help, please !

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Problem passing Session variable as URL parameter?

    Hi,
    I am trying to create a multiple page entry form using
    coldfusion session. But I am having some problem when passing the
    session variable to url parameter. For test purpose I have created
    the following code:
    <cfif Not IsDefined("SESSION.AE")>
    <!--- If structure undefined, create/initialize it
    --->
    <cfset SESSION.AE = StructNew()>
    <!--- Represent current form srep; start at one --->
    <cfset SESSION.AE.StepNum = 1>
    </cfif>
    <cfif IsDefined("Form.GoBack")>
    <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
    <cfelseif IsDefined("Form.Next")>
    <cfset SESSION.AE.StepNum = #url.StepNum# + 1>
    </cfif>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    </head>
    <body>
    <form method="post"
    action="/AE/try.cfm?StepNum=#SESSION.AE.StepNum#">
    <input type="submit" name="GoBack" value="Back">
    <input type="submit" name="Next" value="Next">
    </form>
    </body>
    </html>
    When run it I get the following error:
    The value "" cannot be converted to a number
    The error occurred in C:\CFusionMX\wwwroot\AE\try.cfm: line
    11
    9 : <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
    10 : <cfelseif IsDefined("Form.Next")>
    11 : <cfset SESSION.AE.StepNum = #url.StepNum# + 1>
    12 : <!---<cfset SESSION.AE.StepNum = #url.StepNum# +
    1>--->
    13 : </cfif>
    I couldn't figure out where is the problem. Any help is
    really appreciated.
    Thanks in advance.

    You are mixing up your gets and posts aren't you?
    You have your form method set to post which creates form
    variables not
    url variables. So when you try to use the url variable to set
    your
    session it does not exist.
    Change your SESSION.AE.StepNum = #url.StepNum# to
    Session.AE.StepNum =
    form.StepNum, note there is no need for the #'s.
    OR
    change your form method="post" to form method="get"
    Nagelia wrote:
    > Hi,
    >
    > I am trying to create a multiple page entry form using
    coldfusion session. But
    > I am having some problem when passing the session
    counter to url parameter. For
    > test purpose I have created the following code:
    >
    > <cfif Not IsDefined("SESSION.AE")>
    > <!--- If structure undefined, create/initialize it
    --->
    > <cfset SESSION.AE = StructNew()>
    > <!--- Represent current form srep; start at one
    --->
    > <cfset SESSION.AE.StepNum = 1>
    > </cfif>
    > <cfif IsDefined("Form.GoBack")>
    > <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
    > <cfelseif IsDefined("Form.Next")>
    > <cfset SESSION.AE.StepNum = #url.StepNum# + 1>
    > </cfif>
    >
    > <html>
    > <head>
    > <title>Untitled Document</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    > </head>
    > <body>
    > <form method="post"
    action="/AE/try.cfm?StepNum=#SESSION.AE.StepNum#">
    > <input type="submit" name="GoBack" value="Back">
    > <input type="submit" name="Next" value="Next">
    > </form>
    > </body>
    > </html>
    >
    > When run it I get the following error:
    >
    > The value "" cannot be converted to a number
    >
    >
    > The error occurred in C:\CFusionMX\wwwroot\AE\try.cfm:
    line 11
    >
    > 9 : <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
    > 10 : <cfelseif IsDefined("Form.Next")>
    > 11 : <cfset SESSION.AE.StepNum = #url.StepNum# +
    1>
    > 12 : <!---<cfset SESSION.AE.StepNum =
    #url.StepNum# + 1>--->
    > 13 : </cfif>
    >
    > I couldn't figure out where is the problem. Any help is
    really appreciated.
    >
    > Thanks in advance.
    >
    >
    >
    >

Maybe you are looking for

  • "Device is not provisioned for carrier billing"?

    I have recently in the  past couple weeks started having this issue. I upgraded to the Samsung galaxy s3 from my droid razr and after doing so i was able to bill four transactions o my account via carrier billing in Google play. That was on the last

  • Process Multiple Files in PSE7 - o/p files to Organizer?

    I'm using PSE7. When I run 'Process Multiple Files' from the File menu in Editor I can create a new set of jpegs. For example, I can run them through the Quick Fix processes. If I create new files as output rather than overwriting the originals, is t

  • OSX 10.8.5 Home Folder permissions in AD environment

    So I work in a University environment and traditionally we have been using Windows computers, thus a large AD environment. Recently we have been having Mac OSX computers trickle into the environment and I have been the one tasked with making sure eve

  • Download Trial version of Lightroom 7

    I use Windows 7 and IE 9. When I click the yellow "Download" button, nothing happens.

  • Ist generation..ibooks, Kindle, some other apps won't work

    I just purchased a used 1st generation..can't get ibooks, Kindle and a few others to work. Kindle starts to open, immediately closes. iBooks will open until you see the shelf, no buttons though, then close. I've tried to close all background apps, no