Jump to content

Search the Community

Showing results for tags 'sessions'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News and Announcements
  • osCommerce Online Merchant v2.x
    • General Support
    • osCommerce Online Merchant Community Bootstrap Edition
    • Add-Ons
  • Development
  • General
    • General Discussions
    • Live Shop Reviews
    • Security
    • Developer Feedback
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Real Name


Location


Interests


Website

Found 3 results

  1. So I have an osCommerce 2.2-MS2 site that I have to support for a while longer. I lost the host that I had so I had to move the site to another host. Now all account login and add-to-cart options aren't working. So I suspect that the sessions aren't remembering things saved in them. (I added some temporary checkpoint code that proved it to me.) Does anybody have any idea which PHP settings I should look at that might be set incorrectly? The PHP version I'm using is 5.1.6. I'm a PHP programmer but not an osCommerce expert...
  2. SuperPower09

    Creating Custom Sessions

    I'm trying to find the osCommerce equivalent of the following: session_start(); $_SESSION["custom_session"]; $_SESSION["custom_session"][$keys]["products_id"] - as you can see, I'm working with a session array. Would anyone have insight on how to create custom sessions while using the osCommerce API? I've checked the application_top.php and sessions.php, which gave me some ideas but I wasn't exactly certain. Thank you in advance for any details here and I should add, if necessary, I'm totally comfortable with editing any core files...I know, I'm a rebel...
  3. trier

    PayPal App - PayPal Standard IPN

    Hi, Minor issue - if ‘Force Cookies Use’ is set to true in admin>configuration>sessions it causes a PHP error in the new PayPal App module ext/modules/payment/paypal/standard_ipn.php. A statement near the end of the module - tep_session_destroy(); returns an error “Trying to destroy uninitialized session“. A possible reason for this may be because when ‘Force Cookies Use’ is true, a session isn’t actually started until the second pass through application_top.php (a cookie is set in the first pass, when its presence confirmed in subsequent passes a session is started (I think????)). The error is probably of no great consequence, however, the statement is presumably there for a reason so should be actioned. There is no reason/excuse for any error to be acceptable, errors can mask other failings. For the moment, after the include application_top in standard_ipn I have added - if(!isset($_SESSION)) {tep_session_start();} Equally if (SESSION_FORCE_COOKIE_USE == 'True') {tep_session_start();} could be used? the tep_session_destroy(); could be removed (but I think it also (correctly?) destroys the cookie)? Each of these options seem quite reasonable, but I don’t really know if there may be any hidden side affect? Are there any opinions/preferences/alternatives (please don’t suggest the obvious “remove Force Cookies Use’” – opinion seems to be equally divided on the “must have/must not have”, I prefer the former).
×