[wp-trac] [WordPress Trac] #15820: Under a specific condition, session variables declared in templates exhibit unexpected behavior

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 14 22:38:30 UTC 2010


#15820: Under a specific condition, session variables declared in templates exhibit
unexpected behavior
--------------------------+----------------------
 Reporter:  dougwaltman   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Themes        |     Version:  3.0.3
 Severity:  minor         |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by johnbillion):

 * keywords:  session, header, bloginfo, variable =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 I'm going to go ahead and say that you need to try to debug this a bit
 more Doug. Changing the HTML markup in the page (for example, removing
 attributes of the link as you suggest) does not and will not affect the
 value of the `$_SESSION` variable. Therefore your problem must lie
 elsewhere.

 Additionally, !WordPress does not use PHP sessions therefore it won't be
 interfering with your session variable.

 You should disable all your plugins and try the code on a fresh install of
 !WordPress. Posting on the [http://wordpress.org/support/ Support Forums]
 is also better suited to this as people will be able to offer suggestions
 and discuss your problem.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15820#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list