Results 1 to 8 of 8

Thread: JSessionId pb

Hybrid View

  1. #1

    Default JSessionId pb

    Hi,

    i know it is not the good place for the question but no one find an answer so i try with spring forum.

    In fact the problem is simple : i open a popup window from an iframe and i lost my session in the opener window ?

    Here is my code :

    Code:
    <a href="#" onclick="javascript&#58;open&#40;'<c&#58;url value="editModeleRechercheFret.html"/>',737,391&#41;;">
    It's only only appears when i call popups windows, the navigation in my iframe works fine. The jsession id is ok in my popup.

    Thanks,

    Fabien.

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    Fabien,

    Try using Mozilla, there seems to be a bug in IE. I got the same "error" using Oracle JDeveloper (Embedded OC4J) and IE in development time. When I deployed my Application to the server everything went well. So I switched to Mozilla.

    HTH.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

  3. #3
    Join Date
    Aug 2004
    Location
    Columbus, OH, USA
    Posts
    133

    Default

    None of your users have IE, or was this just a design-time problem?

  4. #4
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    This was a design-time problem. As I said, When I deployed my application to the server, I could use IE succefully.
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

  5. #5

    Default

    Thanks irbouho and smccrory for your help !

    In my case that it is the same in production, :cry:

    And nearly all my users are in ie (~90%). I must find a fix and i must start the part next week.... Please help...

    Fabien.

  6. #6
    Join Date
    Aug 2004
    Location
    Columbus, OH, USA
    Posts
    133

    Default

    Is the second window being created with a new browser process, i.e. is it missing the main processes' session cookie? Do you have cookies enabled in your browser so that the session ID can be managed that way (URL-expressed jsessionid can be a real pain)?

  7. #7

    Default

    hi smccrory,

    The jsessionid is in the url because i use c:url to format my url.

    To resume :

    One window with an iframe, in the frame a window.open call. The cookie are blocked because ie is doing this for the iframe (it is for him a tiers cookies).

    The window call send the jsessionid.

    An idea ?

    Thanks Fabien.

  8. #8
    Join Date
    Aug 2004
    Location
    Columbus, OH, USA
    Posts
    133

    Default

    Sounds on the surface like you might have to manually add jsessionid into c:url since the cookie isn't coming going over with the window.open call. That way the server will know which session to associate the window to.

    But I'm really a JavaScript and JSTL newbie (I'm mainly an engine-room kind of guy) so someone else could probably handle your question better. If you don't get an answer here, your might try a JSTL forum...?

Similar Threads

  1. /j_acegi_security_check and jsessionid
    By jocsch in forum Security
    Replies: 16
    Last Post: Mar 11th, 2006, 08:57 AM
  2. Replies: 8
    Last Post: Jul 28th, 2005, 10:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •