Signed japplet doesn't pass cookie sessionid correctly in NS6

I have a signed applet that gets the sessionid and fileid from the calling page and does a get
to a servlet and the servlet looks up the fileid and sends back the binary file to the applet.
In IE5.5, it works fine. But in NS6, the sessionid doesn't get sent the same way and hence the servlet thinks the session is bad. I printed out all the cookies on the servlet plus some request.functioncalls and this is what it looks like on NS6. This is iplanet app svr. Notice the gx_session_id_ cookie is entered twice with NS6 but not in IE5.5. The session not found error is when the servlet tries to validate session. If it has a good session, it prints out the userid and orgid.
/// NS 6 log entries
Cookie: GX_jst = 5a6e7156662d6164
Cookie: GX_sst =
Cookie: ias_has_been_authenticated =
Cookie: gx_session_id_ = 843c7ef36d77ec93, gx_session_id_=843c7ef36d77ec93
Cookie: NSES40Session = 843c7ef36d77ec93
Error: session not found
DownloadServlet: SessionId from URL? false
DownloadServlet: SessionId from Cookie? false
DownloadServlet: Is requested SessionId valid? false
DownloadServlet: Requested SessionId is null
//In IE5.5, the cookies and session function calls are good:
Cookie: GX_jst = 5a6e7156662d6164
Cookie: GX_sst =
Cookie: gx_session_id_ = ddc742356b281b62
Cookie: ias_has_been_authenticated =
userID: 572
orgID: 1006
DownloadServlet: SessionId from URL? false
DownloadServlet: SessionId from Cookie? true
DownloadServlet: Is requested SessionId valid? true
DownloadServlet: Requested SessionId is ddc742356
b281b62
Here is the servlet code the logs these entries:
// dump cookies
Cookie[] cookies = req.getCookies();
for (int i=0; i<cookies.length; i++)
log("Cookie: " + cookies.getName() + " = " + cookies[i].getValue() );
//Determine if session is valid and if valid extract information from session.
session = validateSession(req, res);
if (VERBOSE) {
log("SessionId from URL? " + req.isRequestedSessionIdFromURL());
log("SessionId from Cookie? " + req.isRequestedSessionIdFromCookie());
log("Is requested SessionId valid? " + req.isRequestedSessionIdValid());
log("Requested SessionId is " + req.getRequestedSessionId());

I found the problem, earlier the applet coder added a setRequestProperty('Cookie', sessionstring) and we thought that got IE to work. I just took it out and the sessionid is being passed automatically. Both browsers work now.

Similar Messages

  • Hi Guys, For some reason both my AIM and Ichat are not signing on.  It passes my screen name and password, but then it just doesn't sign on.  What is going on?

    Hi Guys,
    For some reason both my AIM and Ichat are not signing on. It passes my screen name and password, but then it just doesn't sign on. What is going on?

    Hi Stine,
    I had not replied earlier as I could not get the reply button to work. I presumed this was beause the topic has no title.
    Are your passwords over 16 characters ?
    Have you registered a name at both places ?
    This FAQ may be of soem help.
    http://discussions.apple.com/thread.jspa?threadID=121885
    Ralph

  • Adobe Sign In doesn't work.

    Trying to sign in doesn't work, I enter the correct ID and password yet the sign in doesnt stop to say any errors or successfully log in. It just keeps going. I'm trying to use the trial version of Adobe After Effects CS6.

    Are you using a software firewall or any other security software which might be interferring with the Adobe Application Manager/PDapp.exe from accessing the Internet?  Is this happening during the install process?

  • ACL doesn't pass RDP&SMB

    I have some problem with inbound ACL filtering. Everything worked fine until yesterday.
    Problem is that in ACL doesn't pass RDP and SMB connections any more, but others do.
    Here is an segment of ACL below:
    200 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.115 eq 3389
    220 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.119 eq 3389
    240 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.109 eq 3389
    260 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.110 eq 3389
    262 permit tcp 10.24.1.0 0.0.0.255 gt 1023 host 192.168.1.110 eq 3389 (34 matches)
    263 permit tcp host 10.24.1.131 host 192.168.1.109 eq 3389 (53 matches)
    300 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.112 eq 445
    310 permit tcp 10.24.1.0 0.0.0.255 host 192.168.1.20 eq www (14 matches)
    Lines 262 and 263 are later added, and you can see that matches. In 262 I specified source ports gt 1023, in 263 I specified source host.
    All other lines worked almost one year until yesterday
    Does anyone have idea?

    Hi,
    To me NAT looks good and as you're able to ping the private interface fine across VPN so NAT should not be an issue.
    What doesn't look correct to me is:
    interface GigabitEthernet0/0.1
    encapsulation dot1Q 1 native
    ip address 192.168.131.1 255.255.255.0
    ip nat inside
    ip virtual-reassembly
    Are you going to connect Gig0/0 to a switch to different VLAN interfaces and routing tagged traffic on this router on the Gig0/0 interface? The reason I ask this is that I don't see any other sub-interface being configured other than Gig0/0.1.
    Could you please verify this configuration once again or try removing it?
    Also, it would really help if you could let us know how this Gig0/0 interface is physically connected to you internal device(s).
    HTH!
    Regards,
    Nick

  • Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.    I prefer to view in All contacts on a double page spread with details on the right page.  Searching doesn't seem to work correctly i

    Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts. 
    I prefer to view in All contacts on a double page spread with details on the right page.  Searching doesn't seem to work correctly in this view.
    It's always the second search that is problematic.
    I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
    I've tried to use the x to clear the previous entry and then type the next search, same problem.  The only way seems to be to move from "All Contacts" to "Groups".  Then the searched name appears and I can return to All Contacts to see full details.
    Surely three key press' are not the way it's supposed to work?
    FYI
    Processor  2.7 GHz Intel Core i7
    Memory  8 GB 1333 MHz DDR3
    Graphics  Intel HD Graphics 3000 512 MB
    Software  Mac OS X Lion 10.7.3 (11D50d)
    Address book Version 6.1 (1083)
    MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7

    AddressBook experts are here:
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386

  • FCP X doesn't display iMovie clips correctly in Event Library

    I have 10 years of clips that are setup by year/date in iMovie. Although I had imported most of the media in 2009, iMovie seems smart enough to read the actual file metadata and find the media recording date, which is prior to the import date. As a result, the clips are diplayed correctly in iMovie Event by Year/Month of actual recording.
    However, the Event Library in FCP X doesn't do that at all and lists the events by "Content Creation" date, which is simply reads from the system file date, and NOT the recording date that is embedded into the file.
    Bottom line is that Event Library is semi-useless as it doesn't all at display my clisp in the correct order, unlike iMovie that was doing it correctly.
    Any ideas?

    I went into Finder and discovered that FCP X created a directory structure where the files are in the correct Year/Month directory structure (as an exact mirror directory structure as the iMovie one), so it's even more weird that the Event Library doesn't display the events correctly???

  • Web site still says that Firefox doesn't accept cookies

    Hi,
    The web page mail.hitmessaging.net/ suddenly says that Firefox doesn't accept cookies so I followed all your instructions on this page
    http://support.mozilla.com/en-US/kb/Websites%20say%20cookies%20are%20blocked
    and restarted the browser and then the computer but the problem remains. I clicked OK after having changed the settings in "Tools"-"Privacy" exactly as you recommend (I have double-checked) but when I open that menu again the changed settings haven't been saved. The setting is still "Remember history" instead of "Use customer settings for history" no matter how many times I try to change the setting. I'm using the Swedish version of Firefox 6 and I didn't have this problem with any home page before upgrading to Firefox 6.
    Best regards,
    Claes Vestermark
    Stockholm, Sweden

    Please see the support article [[Preferences are not saved]]. The article provides several possible remedies.
    Let us know how you get on.

  • Mail doesn't pass on geolocation

    Lion Mail doesn't pass on geolocation information from images. If I send myself a geolocated image from my iPhone, view it in Lion Mail, and then either right click and send to iPhoto or choose to save to iPhoto that the geolocation information doesn't get passed along with the picture. If I drag the image to the desktop and import it into iPhoto the geolocation information is there!  Any way to get Mail to pass this information on to iPhoto?

    In the current version of iPhoto there is a popdown that allows you to choose Look Up Locations 'Automatically' or 'Never' as well as a check box for 'Include location information for published photos'. In the three copies (3 different machines) of iPhoto I have tested the lookup is set to Automatic. In all three, imagesimported into the iPhoto Library from outside show location information, but no images sent to iPhoto from Mail have geolocation information.

  • HT1386 my iphone doesn't import phone numbers correctly

    my iphone doesn't import phone numbers correctly from my address book.  some are imported with the area code separated from the number, as it is in the address book (by a dash or parentheses).  these the phone will dial correctly.  others are imported with all the numbers bunched together, without separations between the number and area code, even though in the address book they are separated.  these the phone won't dial correctly, and I get a message from verizon saying it won't connect with the number as dialed.  how can I get the phone to import the numbers as they appear in the address book?

    Hi, bjholladay. 
    I would recommend the steps in the article below.  See the section labeled Verify that the Apple Mobile Device USB Driver is installed > For Windows XP or Vista, Windows 7, and Windows 8 > Update the Apple Mobile Device Driver.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    Jason H.

  • App from beta2 doesn't pass certification

    Hi
    I just got pretty serious problem. I get the message that my app doesn’t pass certification. I added package to store and it added new Text box to fill in description.. “PRIVACY POLICY”. It want me to add an url address to privacy policy
    even if my app DOESN’T collects personal info,  DOESN’T connects to any online service, or DOESN’T contains other features that could allow users to unintentionally share their personal info. It might be that I forget to edit privacy.html
    in visual studio before I made app package. I have change it, made new package but the url with privacy policy is still there and I don't have one.  Any idea what do I have to put there?

    On Mon, 21 Apr 2014 18:07:05 +0000, ptr.chovan wrote:
    >I just got pretty serious problem. I get the message that my app doesn’t pass certification. I added package to store and it added new Text box to fill in description.. “PRIVACY POLICY”. It want me to add an html address with privacy policy even if
    my app DOESN’T collects personal info,  DOESN’T connects to any online service, or
    DOESN’T contains other features that could allow users to unintentionally share their personal info. It might be that I forget to edit privacy.html in visual studio before I made app package. I have change it, made new package but now I can’t get rid of
    the old package in new release page- package - windows 8.  Any idea what am I
    suppose to do?
    It needs to be posted on a web site. That is a requirement. And you need to
    enter THAT URL in the Description field on the dashboard. Just post it somewhere
    and then edit the release in the dashboard and enter the URL. And yes, It can
    say "does not collect, share or use information: etc.
    -- Barb Bowman

  • Firefox 10.0.2 doesn't delete cookies when Firefox is closed when selecting: Keep until: I close Firefox:

    From the Menu bar select + tools + options + privacy + use custom settings for history + Keep until: I close Firefox:
    Firefox 10.0.2 doesn't delete cookies when Firefox is closed when selecting: Keep until: I close Firefox: Please advise Thanks :)

    If you change that cookie setting at a later time then only new cookies are affected and you need to remove already existing cookies yourself.
    There are also extensions that add opt-out cookies that can't be removed as long as the extension is installed (enabled).

  • Passing cookies to WSRP Provider

    When deploying a JSR168 portlet in OC4J 10.1.3.3 and registering it as a provider in Oracle Portal 10.1.4 the RenderRequest object does not contain all the cookie values from the original request.
    The "request" object in the portlet is of type PortletRequest. The following code will print out all available values. In our case only user-agent is showing up in the Enumeration.
    Enumeration propNames = request.getPropertyNames();
    while (propNames.hasMoreElements()) {
    String pName = (String) propNames.nextElement();
    out.print("<tr><td>Property Name: (");
    out.print(pName);
    out.print(")</td><td>");
    Enumeration propValNames=request.getProperties(pName);
    while (propValNames.hasMoreElements()) {
    String propVal = (String) propValNames.nextElement();
    out.println("Val==" + propVal);
    out.println("<br>");
    out.println("</td></tr>");
    I know passing cookies over WSRP is not specifically in the spec, is there any way to do this? Is there any way we can pass some custom value over WSRP back to the JSR168 portlet?

    I am not expert here. Have a look at portalconfig.xml. May be this may help:
    This setting will be used only if you are using an SSO product. Together with CookiePath (below) these two values are the domain and path that will be used for your secure SSO cookies. The Plumtree web server will send your secure SSO cookies to any remote portlet server whose URL matches the domain and path specified here. The domain must begin with a period ('.').
              <setting name="CookieDomain">
                   <value xsi:type="xsd:string">.plumtree.com</value>
              </setting>
    Edited by Bryazgin at 10/24/2007 1:42 PM

  • Passing cookies to urlservices

    I have been evaluating the urlservices portlet, and have a question. Is it possible to pass cookies to the url? In particular I am trying to access a perl script on a server that depends upon a cookie for it to work. If this is not yet implemented, is it possible to get the source for this portlet for me to add it myself?

    I am not expert here. Have a look at portalconfig.xml. May be this may help:
    This setting will be used only if you are using an SSO product. Together with CookiePath (below) these two values are the domain and path that will be used for your secure SSO cookies. The Plumtree web server will send your secure SSO cookies to any remote portlet server whose URL matches the domain and path specified here. The domain must begin with a period ('.').
              <setting name="CookieDomain">
                   <value xsi:type="xsd:string">.plumtree.com</value>
              </setting>
    Edited by Bryazgin at 10/24/2007 1:42 PM

  • Numbers application on Ipad, the 'VALUE' function doesn't seem to work correctly on the string/text I want to convert to a value.

    Hi, I would appreciate if someone could assist with the following.  On the Numbers application on my Ipad, the 'VALUE' function doesn't seem to work correctly on the string/text which I want to convert to a value.  It gives me an error (in my example: 'VALUE requires a string specifying a number, but found "-14308.65" instead.'
    The exact same document (if converted from Numbers to excel), displays the converted string/text correctly in MS Excel as a value though.

    click on the cell then in the formula bar and use the arrow keys to move the cursor to see if there are any other characters in the cell that could confuse the function.  Also make sure the localization for your country is correct in System Prefs.
    Maybe copy the EXACT contents of the cell and post here.

  • The sign-in ID or password is not correct

    So I just woke up to play on my PS4, and the first thing I noticed was I was not longer signed into PSN. When I went to go sign in, it forced me to reset my password, which I did and I can log onto the playstation website just fine. However when I try to log on to my PS4 with my info, it says "The sign-in ID or password is not correct".  How do I fix this? There is nothing wrong with the way I am putting in my info

    See:
    iOS: Troubleshooting FaceTime and iMessage activation

Maybe you are looking for

  • Posting period

    HI What unit test we have to do in " open and close posting periods" Thanks, Nivi

  • Why does the App Store not work in Genius with VoiceOver switched on

    After I downloaded IOS 6 to my iPhone 4 there were a lot of things not working properly, the main things that were a problem was the App Store, to move anything with VoiceOver switched on it was touch-and then tap twice also to move the thing on the

  • 166Gb of free space not showing in Finder

    Hi, my Mac started saying I need to free up space on my Startup Disk. I was suprised, but as I've been doing some film work, I just thought it must take up even more space than I thought. Anway, I free'd up loads of spaced, I moved all my film files

  • Values not updating in Condition records

    Hi All, Small question for you all - We have a condition record for TAX (ZVAT) this has three access sequences on it, one of these feilds for access is the HT (OIHANTYP), Nowe the problem is when HT = 01 then Vat should be calculated at the correct r

  • Dual boot on an External HDD

    Hello! I need to buy an external HDD but I have a few questions... 1. Can I create two partitions on it, one for storing personal data & other to install OS X? 2. Can I have two partitions: one with OS X & other with Windows 7? Thank you very much! A