Results 1 to 2 of 2
  1. #1
    gnorro is offline Member
    Join Date
    Nov 2010
    Posts
    1
    Rep Power
    0

    Default Share session between http and https

    Hi
    I have a web application with user login. after login the user is in https and he can browse in some categories and select a product. when he select a product he goes inside product detail that must be in http because this page has a iframe that call an external url and this url enable additional informations about that product. but it works only if the referrer is in http and not in https, so we must redirect in http where the user is in product detail.
    but if we do that, the user lose his session because he passes from https to http (in other words he is logged out).

    We useglassfish 2.

    how can we avoid this problem?

    thanks

  2. #2
    HarithaReddy is offline Member
    Join Date
    Feb 2011
    Posts
    5
    Rep Power
    0

    Default session id should be sent across

    If the session id is transferred, then I think you would not face a problem

Similar Threads

  1. session expires between http and https
    By hopfensp in forum Java Servlet
    Replies: 0
    Last Post: 12-18-2010, 04:30 PM
  2. share session object between servlet and jsp
    By sameerk in forum Java Servlet
    Replies: 6
    Last Post: 09-29-2010, 11:20 AM
  3. difference of HTTP vs HTTPS development
    By kzvi.kzvi.1 in forum Advanced Java
    Replies: 3
    Last Post: 10-06-2008, 12:27 AM
  4. which one to opt http session or cookies
    By amu in forum New To Java
    Replies: 1
    Last Post: 10-04-2008, 10:16 AM
  5. switching between HTTP and HTTPS
    By mutuah in forum Advanced Java
    Replies: 6
    Last Post: 08-03-2007, 11:08 PM

Posting Permissions

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