Announcement

Collapse
No announcement yet.

global_start sessions & ie7

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • global_start sessions & ie7

    I created a plugin, hook location: global_start, added code, and enabled it.



    PHP Code:

    session_start
    ();
    if (
    is_null($_SESSION['myadsession']))
    {
    $_SESSION['myadsession'] = 'No';

    $showad '<img src="http://example.com/ad.gif">';
    }
    else
    {


    And I added to style footer:

    PHP Code:
    $showad 
    The ad shows once per session in firefox.
    IE7 doesn't show it...


    Any ideas?
    The similar php code works on some of my other sites...


    Thanks,
    - 3lite


  • #2
    Customizations discussions are best for vBulletin.org, we can't provide support for custom code on this site.

    Comment


    • #3
      Oooops!

      Ooops, sorry!


      Thanks!
      - 3lite

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X