Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

session.save_path configuration in PHP

session

  • Please log in to reply
3 replies to this topic

#1 rhossis

rhossis

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 98 posts
  • Programming Language:Java, PHP, (Visual) Basic
  • Learning:C, C++, Others

Posted 09 July 2011 - 06:55 AM

What is the secure method of setting session path for PHP 5 in Windows?
  • 0

#2 dargueta

dargueta

    I chown trolls.

  • Moderator
  • 4854 posts
  • Programming Language:C, Java, C++, PHP, Python, JavaScript, Perl, Assembly, Bash, Others
  • Learning:Objective-C

Posted 12 July 2011 - 06:53 PM

PHP: session_save_path - Manual
(See comments, first few posts.)
  • -1

sudo rm -rf / && echo $'Sanitize your inputs!'


#3 Alexander

Alexander

    YOL9

  • Moderator
  • 3963 posts
  • Location:Vancouver, Eh! Cleverness: 200
  • Programming Language:C, C++, PHP, Assembly

Posted 12 July 2011 - 07:12 PM

What is the secure method of setting session path for PHP 5 in Windows?

Generally if it is stored in a temporary location other than the main Windows temp folder (programs can be written there,) and your scripts cannot access system files outside the document root, you should be more than fine.
  • 0

All new problems require investigation, and so if errors are problems, try to learn as much as you can and report back.


#4 rhossis

rhossis

    CC Resident

  • Advanced Member
  • PipPipPipPip
  • 98 posts
  • Programming Language:Java, PHP, (Visual) Basic
  • Learning:C, C++, Others

Posted 15 July 2011 - 11:29 PM

Thanks, the use of the windows temp folder was not sitting pretty with me.
  • 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