Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Error: Your script possibly relies on a session side-effec


  • Please log in to reply
2 replies to this topic

#1 smith


    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 149 posts

Posted 15 July 2009 - 08:28 AM

Anyone know what would cause this error?

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

What is a "session side-effect"?
  • 0

for (int i;;) {

   cout << "Smith";


#2 BlaineSch


    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1559 posts

Posted 15 July 2009 - 09:13 AM

Can you post the code?
  • 0

#3 John


    CC Mentor

  • Moderator
  • 4450 posts
  • Location:New York, NY

Posted 15 July 2009 - 10:39 AM

I believe you have a session variable with the same name as a global variable.
  • 0

Also tagged with one or more of these keywords: session

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download