Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    86
    Thanks
    5
    Thanked 1 Time in 1 Post

    sessions http/https

    I seem unable to pass anything across from https through to http sessions. Is this usual? What is the way around it??

    Cheers

    The Moose

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,146
    Thanks
    2
    Thanked 333 Times in 325 Posts
    That's the way sessions work.

    What is the way around it??
    Stay on https

    The reason browsers don't pass the session id back and forth between https and http is because if you have anything important enough to use https for and created a session, it is not safe to pass the session id through http so that the session can get hijacked.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    86
    Thanks
    5
    Thanked 1 Time in 1 Post
    Quote Originally Posted by CFMaBiSmAd View Post
    Stay on https
    This, unfortunately isn't possible because of the nature of the site.

    What other way can I go about passing the data around?

    Cheers

    The Moose

  • #4
    New Coder
    Join Date
    Jul 2008
    Posts
    86
    Thanks
    5
    Thanked 1 Time in 1 Post
    Oh, and IE 7 does infact pass the session variables around!! Was developing in FF on a non secure server, moved to secure and this was obviously overlooked!!

    Any ideas?

    Cheers

    The Moose


  •  

    Posting Permissions

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