When I add an opendocument login token, it wipes out my parameter/prompt response in the Redirect URL

I am having this issue and I wonder if anyone has any pointers?
When I send the URL with the single prompt response &lsSPrompt0=1234567 it works fine but I have to login to InfoView.
So I created a login token .jsp and that took care of the login for InfoView, but it also killed my prompt value.
The code that I got from another site that does the same thing I WANT to do seems to create a cookie to store the passed prompt value in, then it creates a login token, then it assembles it all in the redirect URL and sends it to the openDocument.jsp.
The login token works like a champ, but the prompt value (initially passed in to the cookie as "Prompt0") ends up passing from the Redirect URL to the openDocument.jsp with a value of NULL (lsSPrompt0=NULL).
In my lack of knowledge, I am thinking maybe it has something to do either with how the cookie is being created, how it is being passed, or how/if it is getting stored at the target.  The cookie/token.jsp and the openDocument.jsp are in different folders on the same domain.
So, I pass this URL:
http://server:8080/InfoViewApp/token.jsp?&lsSPrompt0=1234567
The token.jsp that it hits looks like this:
So, the redirect winds up hitting the target looking like this:
http://server:8080/OpenDocument/opendoc/openDocument.jsp?token=logonToken&iDocID=45227708&sKind=FullClient&lsSPrompt0=NULL&NAII=N&buttonrefresh=hide&buttonexport=hide
Obviously, my problem is this:  lsSPrompt0=NULL
Any pointers or nuggets of wisdom are GREATLY appreciated?
Also of note, I wasn't sure if I needed to publish this token.jsp as a Webapp to Tomcat.
I just placed the .jsp file in the folderTomcat5.5/webapps/InfoViewApp (same location as the client who has it working).
Do I need to publish it?  Is that part of the problem?
I am a little out of my realm here but trying to learn!
We are on BOXI R2, Tomcat 5.5, JAVA, and I am having the same behavior on my personal XI 3.0 server too
Thanks in advance,
Randy

I believe it's storing the info in a cookie so that it can be used later.  You don't mention which version of BO you're using, but I've sometimes found that the logon tokens created in 4.x contain special characters and may need to be URL encoded.  Also, I've found that it helps to put the logon token at the end of the URL after any parameters instead of in the middle before the parameters.
-Dell

Similar Messages

  • IPhoto - When I add new photos to iPhoto from my iMac they do not appear in the "Photos" library. They do appear in Last Import.  Any thoughts?

    iPhoto - When I add new photos to iPhoto from my iMac they do not appear in the "Photos" library. They do appear in Last Import.  Any thoughts?

    If you are seeing your photos in "Last Import", the photos are somewhere in your library. Perhaps the dates are wrong, and you do not see the photos arranged by date, where you expect them to be.
    Select one of the photos on "Last Import", then ctrl-click it and select "Show in Event".  That will take you to the event in event view.

  • Having several problems with Adobe Premiere Elements 13.  Right now my worst is that when I add text to a clip, it goes out of "auto color" while the text is up.  Help?

    I'm having a number of problems with Elements 13.  One is that, while in "play" mode, the sound will just stop happening.  I have to click "pause" then "go" again and the sound comes back.  It also stops playing on it's own, I have to hit "play" repeatedly.  Just got the software, have been using it extensively for a week or two, and this just started happening.dor
    Now today, when I add text to a clip, it drops out of "auto color" while the text is visible in the clip, then back into auto color when the text is gone.  Any suggestiosn?

    nikovichb
    If we are looking at the same thing, you have called attention to one strange Premiere Elements 13 AutoColor/Titler interaction. This can be reproduced in the Expert or
    the Quick workspace. I will demo this in the Quick workspace since that is where you have been working.
    1. Import a still into the Quick workspace/Filmstrip.
    2. With the still selected, go to Adjust Tab/Adjustments Palette/Color Panel expanded and just click on the Auto Color Tab. Close the Adjust Tab route.
    3. Go to Text Menu/New Text/Default Text to open the project's Titler. When you do that you see the following and not the still over which the text title is to go.
    And when you close the Titler, you then see the "Add Text" text title in the still.
    The only solution that I can think of at this time is to create the text title and then apply the Auto Color to the still.
    It is interesting that this only happens with the Auto Color in the Color Panel selected. If you do not click on
    Color Panel and use the More options for Color adjustments, this behavior does not take place.
    Deletion of Adobe Premiere Elements Prefs file does not correct this situation.
    As for
    I'm having a number of problems with Elements 13.  One is that, while in "play" mode, the sound will just stop happening.  I have to click "pause" then "go" again and the sound comes back.  It also stops playing on it's own, I have to hit "play" repeatedly.  Just got the software, have been using it extensively for a week or two, and this just started happening.dor
    I think that here we need to explore project settings (project presets), properties of source media, and Timeline rendered and unrendered content prior to export.
    Please review the above
    a. verify if the Auto Color Text Title glitch that I saw is what you described in your situation
    b. give the details of your project so that we can explore cause and effect for Timeline content playback irregularities as seen in the Edit area monitor.
    Thanks.
    ATR

  • When I add users as managers or to send as in shared mailboxes I get the test username applied

    I have two users [email protected] [email protected], Both users were added to the test group with onmicrosftonline.com as [email protected] and [email protected] The .temp was removed when we went to our own domain now
    when I add jane.doe to a shared mailbox I see the jane.doe.temp for the send as but full access displays her name correctly. When I add John.Smith as a manger he is displayed as John.Smith.Temp. 
    Thank you.  

    Hi,
    Please check the name in OWA.
    To solve this issue, you can try to clear up nickname cache.                
    Here are some related information for you.
    How to reset the nickname and the automatic completion caches in Outlook:
    http://support.microsoft.com/kb/287623
    How to reset nickname cache for all outlook 2010 users:
    http://social.technet.microsoft.com/Forums/en/exchange2010/thread/f419cc62-d4fe-4ac4-aed5-cab6b2c02faf
    Thanks.

  • HT201260 My IPad2 just got fixed at the Apple Store, but it looks like they loaded up the latest OS. When i got it home and mated it to ITunes, I was prompted to load the latest OS into my main computer which now runs on OS X version 10.5.8...how to get t

    My IPad2 just got fixed at the Apple Store, but it looks like they loaded up the latest iOS. When i got it home and mated it to ITunes(MacBook Pro), I was prompted to load the latest OS into my main computer which now runs on OS X version 10.5.8...how do i get the latest OS so i can get the latest iTunes and am i looking at problems with the MacBook buy leap frogging so many OS's?

    Buy Snow Leopard here: http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Install it, update to OS X 10.6.8 using Software Update, and then you'll be all set with iOS 7.

  • In Photoshop CC timeline, when I add an audio track photoshop CC either quits working or it skips to the end of the video clip.  If I just put in audio it works fine.  If I just put in clips or pics it works fine, but now when audio is added

    When I try to use the timeline portion of photoshop, I can't get the audio to work with my clips.  I can get audio to work fine when using just audio, but the minute I try to add audio to a set of clips either photoshop quits working or it skips to the last clip in my show.  I don't understand why this happens.  I am using the same track each time.  Very frustrating.

    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • TS4488 When i add new songs to a playlist and sync my iphone with itunes 11 the newly added songs don't show up in the playlist on my phone. how do i fix this?

    How do i sync the playlist on to my iphone with Itunes 11.

    Ryan
    You may be better off posting in the iTunes or iPhone fora.
    Regards
    Jules

  • I have owned my MacBook Pro for several months.  Initially, I did not have any problems.  Now I have a problem with Yahoo Mail.  I can open my account, but when I try to get at my mail, 2 out of 3 times I get the spinning ball that never stops.  Now what?

    I have owned my MacBook Pro for several months without having any problems with it. Recently I am having trouble with my Yahoo Mail.  I can open it fine, but 2 out of 3 times when I try to actually open a message, the spinning ball comes on the screen and does not stop. Sometimes, I can log out or force quit and come back in to my account and use it.  Other times, I run into the same problem.  Any suggestions?

    Killerfinch wrote:
    My new yahoo account nestles comfortably in iCloud on the mine iPad.
    No, your Yahoo account is not in iCloud (which only handles iCloud mail), it is in Yahoo, and the Yahoo mail account is on your iPad.
    But the MacBook Pro will have none of it! I write this question now as I fear that I will be totally demented very soon and unable to formulate my thoughts clearly!
    Get the correct settings for your account from Yahoo and set it up manually.
    By the way, I also find the "password" issue problematical. It seems Apple want my Apple password rather than my eMail password. All very confusing.
    That would depend on what you are trying to do.

  • I just downloaded the new i tunes and when i connect my iPod I can't figure out how to transfer music.  the screen has changed

    I just downloaded the new version of I tunes on my old window computer before I did this when I connected my classic ipod the device would show up
    in a window on the left under devices and I would just drag playlist over from my library but now device is in the right hand corner and I can't figure out
    how to drag music over.  Help please

    You're welcome. 
    Also, when you get a chance, backup your iTunes purchases to an external drive or burn to CD's.
    How to back up your media in iTunes
    Thanks for awarding points! 

  • TS4062 I am trying to transfer my purchased and uploaded content from my IPhone 4S to my ITunes account on my laptop.  When i try to sync, it wants to wipe out my phone content with what is on my computer which has nothing.  Am i missing something?

    I am trying to sync my iphone 4s to my windowns Itunes account.  When i try to do it, the sync wants to remove all of the content on my phone and replace it with what is on my laptop, which has nothing yet.  I am trying to move all of my purchased and uploaded content from my phone to the computer, but don't see the setting to do that.

    Have you tried contactint the app's developer?

  • Mail (5.3) OS X 10.7.5 mail program crashing when opening an email with attachment. Any suggestions out there? I can open the mail program...send and receive emails...click on emails without attachments with no problem.

    I am having a problem successfully opening an email containing attachment. I can open the mail program...send and receive emails...and view emails that do not contain attachments. But whenever I click on an email containing an attachment, I get the spinning beach ball for a few seconds and then the entire program closes. Any suggestions before I make a one hour trip to the Apple store for help?

    I don't think an interactive portion of a PDF is an obscure problem (lots of designers I know use rollable PDF files for emailing 3D models) and while I understand that it's in a legacy program, there is no guarantee if I purchase Acrobat X, that the same problem won't exist. It's no an issue in Reader 10 but then again, it wasn't an issue in Reader 9 either. Since Adobe doesn't give trial versions for Mac (stupid), I have no way of checking this. The problem doesn't annoy me as much as being an Adobe product user who upgraded only to not have functionality and not have a way to have it resolved.

  • All my folders display in finder in alphabetical order a to z. However when I add a file as an attachment to an email the window that opens for me to select the folder from now displays them in alphabetical order from z to a. How can I alter it? Thank you

    All my folders in finder show as in alphabetical order a to z. However, when I access them because I want to attach one to an email they display as z to a. How can I change this? it's been annoying me for ages. Many thanks.

    When you add an attachment and you open a window to locate it, click on the little arrow I've indicated on the image and it should re-organise them as you want:

  • BO Login token expire problem

    Hi,
    We have few dashboards developed in Xcelsius which we need to run 24/7. We use jsp to create login token and pass the login token to the .swf file. The problem is, the login token expires after 24 hour and the dashboards give error message "Invalid login token". In that case, we have to close the dashbaords and start again.
    Is there anyway to automatically extend the lifetime of the login tokens? Please share your knowledge.
    Regards,
    Tanveer.

    There is a setting in the infoview web.xml for logontoken and value of true will cause the logon token to auto renew.
    If you are looking for a solution in the SDK then you may want to ask this question in the SDK forums. Let me know and I can move the post there.
    Regards,
    Tim

  • Updated iPad 1 to IOS 5. When trying to restore my iPad from my backup it gets half way through and the iPad reboots and iTunes says "An error occurred while restoring this iPad (-1)"

    Updated iPad 1 to IOS 5. When trying to restore my iPad from my backup it gets half way through and the iPad reboots and iTunes says "An error occurred while restoring this iPad (-1)"
    I have tried to restore my contacts and company data at least 20 times and every time half way through THE iPAD REBOOTS! When it boots back up it is at the brand new iPad screen.
    This makes me angry as I do not use the iPad for fun and games. I use it for business. My company data and records for the last year are gone. ALL of my out standing customer invoices are gone. ALL payments received are gone! ALL Business contacts and emails ARE GONE! All my company, personal email accounts and settings ARE GONE!
    What am I supposed to do now? In 6 hours I have to get on the road and conduct business with a empty blank factory out of the box iPad. How am I supposed to know who owes me money or who has paid their bills Apple? All of my meetings and calendar dates are GONE!
    Everything was supposed to be backed up and restored after the update!
    Question???WHY DID YOU MAKE THIS UPDATE WIPE OUT ALL SETTINGS AND APPS ON THE iPAD??? All the other updates left everything on the iPad intact and ONLY upgraded the IOS,and when it was done everything was still there.
    Yes! I have done everything. Rebooted computer, checked for updates, Hard booted iPad, Factory restored iPad to ios 5 twice, tried every usb port I have, unplugged all other usb components.
    Everytime half way through "Restoring iPad from backup..." The iPad turns off shows a spinning circle then shows the Apple logo and takes me to the brand new iPad setup screen.
    Apple, you have no idea the level of stress you have created today.....

    Check the console app to see if there are any error messages. I had one app showing an issue (Pet Hotel) the error was (truncated):
    ERROR: Restore message response: 102 rename error: File name too long (63) at path "/var/mobile/Library/SafeHarbor/com.pocketgems.tappethotel/Container/Documents/ savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHis tory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGa meHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/sa vedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHisto ry/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGame History/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/save dGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory /savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHi story/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedG ameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/s avedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHist ory/savedGameHistory/1313349538-pocket_gems_crash_report.txt" (MBErrorDomain/102)
    I manually snyc'ed that particular app and then re-ran the restore and am now the proud owner of a working iphone. Not sure it is the same problem or app but looking in the console was the key!

  • How and where to add code to login page

    I have a login page which uses the Dreamweaver Login Behavior.  I want to add code to:
         Check the status of the person loging in (status is the last field in the mySQL authentication table).
              a.     If the person is already logged in, display an error message, and reject the attempt.
              b.     If the person is NOT currently logged in, set his status accordingly, and log him in.
    Since the behavior is generated code, and well above my head, I don't know what code to enter, and where to enter it.  Here's the code for the form:
    <?php require_once('Connections/login.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    ?>
    <?php
    // *** Validate request to login to this site.
    if (!isset($_SESSION)) {
      session_start();
    $loginFormAction = $_SERVER['PHP_SELF'];
    if (isset($_GET['accesscheck'])) {
      $_SESSION['PrevUrl'] = $_GET['accesscheck'];
    if (isset($_POST['username'])) {
      $loginUsername=$_POST['username'];
      $password=$_POST['password'];
      $MM_fldUserAuthorization = "";
      $MM_redirectLoginSuccess = "WOTCPg1.php";
      $MM_redirectLoginFailed = "loginerror.php";
      $MM_redirecttoReferrer = false;
      mysql_select_db($database_login, $login);
      $LoginRS__query=sprintf("SELECT UserID, Password FROM authentication WHERE UserID=%s AND Password=%s",
        GetSQLValueString($loginUsername, "text"), GetSQLValueString($password, "text"));
      $LoginRS = mysql_query($LoginRS__query, $login) or die(mysql_error());
      $loginFoundUser = mysql_num_rows($LoginRS);
      if ($loginFoundUser) {
         $loginStrGroup = "";
        //declare two session variables and assign them
        $_SESSION['MM_Username'] = $loginUsername;
        $_SESSION['MM_UserGroup'] = $loginStrGroup;      
        if (isset($_SESSION['PrevUrl']) && false) {
          $MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
        header("Location: " . $MM_redirectLoginSuccess );
      else {
        header("Location: ". $MM_redirectLoginFailed );
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript">
    function setFocus()
    document.getElementById("username").focus();
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Log-in to IOD</title>
    <style type="text/css">
    <!--
    #apDiv3 {
    position:absolute;
    left:5px;
    top:101px;
    width:760px;
    height:612px;
    z-index:2;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: center;
    background-image: url(images/grid_gray.gif);
    border: medium ridge #009;
    #apDiv1 {
    position:absolute;
    left:94px;
    top:227px;
    width:629px;
    height:282px;
    z-index:3;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: center;
    #apDiv2 {
    position:absolute;
    left:178px;
    top:248px;
    width:564px;
    height:254px;
    z-index:3;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    color: #009;
    text-align: left;
    border: medium groove #036;
    #apDiv4 {
    position:absolute;
    left:178px;
    top:245px;
    width:566px;
    height:242px;
    z-index:3;
    border: medium groove #009;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: capitalize;
    color: #009;
    .SubmitButton {
    color: #009;
    -->
    </style>
    </head>
    <body onLoad="setFocus()" >
    <span style="position:absolute; left:3px; top:2px; width:758; height:89;"><img src="sitebuilder/preview/sitebuilder/clipart/bars/regular/horizontal/sleekLines_blue.gif" width="760" height="90" alt="" /></span>
    <div id="e2" style="position:absolute; left:13px; top:14px; width:670px; height:32;"><span class="text"><b><span style="font-size: 22px"><font color="#FFFFFF">Sign-in to Information On Demand</font></span><font color="#FFFFFF" size="4"><span style="font-size:22px;line-height:26px;"><br soft="soft" />
    </span></font></b></span></div>
    <div id="apDiv3">
      <p><span style="text-align: center; text-decoration: underline; color: #009; text-transform: capitalize; font-variant: normal; font-weight: bold; line-height: normal; font-style: normal; font-size: 18pt; font-family: Arial, Helvetica, sans-serif;">Customer Sign-In</span><span style="position:absolute; left:12px; top:23px; width:151px; height:65;"><img src="sitebuilder/images/redInfoOnDemandLogo-150x65.jpg" width="149" height="65" alt="" /></span></p>
    </div>
    <div id="apDiv4">
    <form ACTION="<?php echo $loginFormAction; ?>" id="login" name="login" method="POST">
        <p>     </p>
        <p>User Name:<br /><input name="username" type="text" id="username" tabindex="1" size="30" maxlength="30" />
        </p>
        <p>User's Password:<br />
          <input type="password" name="password" id="password" tabindex="2" />
        </p>
        <p>
          <input name="submit" type="submit" class="SubmitButton" id="submit" tabindex="3" style="color:#009; font-weight:bold" value="Sign-in" />
       <input type="reset" name="reset" id="reset" value="Reset" tabindex="4" style="color:#009; font-weight:bold">
        </p>
      </form>
    </div>
    <br />
    </div>
    </body>
    </html>
    Here's the code for the script "included" in the first line of the page:
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_login = "localhost";  // Change to "mysql" when uploaded to Yahoo
    $database_login = "infoondemand";
    $username_login = "root";   // Change to "creacontech" when uploaded to Yahoo
    $password_login = "raisin4312";
    $login = mysql_pconnect($hostname_login, $username_login, $password_login) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    Could someone help me with this?  I'd very much appreciate any assistance.

    I should have warned you ealier that I don't know PHP very well, but if I can help nail down the process then hopefully one of the PHP experts can jump in.
    I'm still a little fuzzy on what is going on.  If Susie and Rodunda both have their own UserIDs and Passwords, then they can both be logged in at the same time, insert records til their hearts content and there will be abolutely no confict at all. The only issue here that may present a problem is if one of them attameps to update a record while the other one is looking at it, or getting ready to make their own modifications.
    Also, if Susie and Rodunda have their own user accounts with their own credentials, how is it that one would try to log in using the others' credentials?
    At any rate, and hopefully to get closer to a solutions for you, When a user is successfully authenticated, the session variable MM_Username is created.  So, simpy by checking for the existence of this session variable can tell you if that use is logged in or not.  This check can be placed before any of the login script so that it doesn't interfere with the behavior generated code. And you can choose what to do depending on the condition that exists - such as redirecting immediately to another page, or displaying or hiding a certain region on the page.
    Keep in mind that when the page first loads, thel login code is placed in an IF statement that checks the form action, so at first it's ignored and loads the form.  When the form is submitted, the IF conditino is met and the code executes.  To update the database with a "Logged in or out" value, you first have to place a recordset just after the IF statement that checks the form action, wirte another IF statement to check the value of the field, and then redirect to a logout page or continue with the login.
    If you continue with the login, you'll need an Update statement to change the field in the database just before the successful redirect.  If you've redirected to a log out page, you'll also need s similar update statement there.
    To write the recordset code, you can use DW's wizard and just move the code to where it needs to go. But the DW's update code depend on predeifned recordsets and form actions, so you'll need to find a script or hand code it, I wouldn't recommend trying to use DW's code and then modify it.
    So, what do you think, are we getting closer?

Maybe you are looking for