# Session save path not working

**URL:** <https://forums.interworx.com/t/session-save-path-not-working/14220>\
**Category:** General Discussion\
**Tags:** phpini, session, session-save-path\
**Created:** [September 22, 2017, 2:49am UTC](https://forums.interworx.com/t/session-save-path-not-working/14220 "2017-09-22T02:49:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiran\_upadhya](https://forums.interworx.com/letter_avatar_proxy/v4/letter/k/b5e925/32.png) [@kiran\_upadhya](https://forums.interworx.com/u/kiran_upadhya)\
**Post date:** [September 22, 2017, 2:49am UTC](https://forums.interworx.com/t/session-save-path-not-working/14220/1 "2017-09-22T02:49:43Z")

</div>

I have created a plugin. It has to create a session file. Right now the session save path is this ‘/home/interworx/var/session’ as per the interworx php.ini setting(/usr/local/interworx/etc/php.ini). How can change this path ?. I tried with set.ini() php command but its working :(. How can define my session save path ?. Please show me one example.

Regards  
kiran

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 22, 2017, 3:20am UTC](https://forums.interworx.com/t/session-save-path-not-working/14220/2 "2017-09-22T03:20:16Z")

</div>

Hi kiran

I’m sorry, I do not think/believe you could overwrite the php.ini for nodeworx php. This is not multiPHP sorry

I am struggling though to understand why you want it changed for a plugin, as long as the security of the session file was correct

I hope that helps but sorry if I am wrong

Many thanks

John

---

<div class="post-metadata">

**Author:** ![t1mtnntgn](https://forums.interworx.com/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@t1mtnntgn](https://forums.interworx.com/u/t1mtnntgn)\
**Post date:** [September 22, 2017, 6:06pm UTC](https://forums.interworx.com/t/session-save-path-not-working/14220/3 "2017-09-22T18:06:23Z")

</div>

i like you

---

<div class="post-metadata">

**Author:** ![t1mtnntgn](https://forums.interworx.com/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@t1mtnntgn](https://forums.interworx.com/u/t1mtnntgn)\
**Post date:** [September 23, 2017, 2:54am UTC](https://forums.interworx.com/t/session-save-path-not-working/14220/4 "2017-09-23T02:54:18Z")

</div>

like topic :))
