Jumat, 25 Oktober 2013

PHP Indonesia - Facebook: [Tanya | Session] Session_Start() ini script yang...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
The Best Way to Manage your Money.

Start using Mint today to set a budget, track your goals and do more with your money.
From our sponsors
[Tanya | Session] Session_Start() ini script yang...
Oct 25th 2013, 16:18, by Idle Track

Idle Track 4:18pm Oct 25
[Tanya | Session]

Session_Start() ini script yang tidak asing buat saya pribadi, tapi begitu saya tekan CTRL+Space pada Notepad++ ternyata ada banyak keyword session, antara lain :
- session_id
- session_regenerate_id
- session_save_path

Pertanyaan :
Kalau session_save_path buat apa yah, apakah ada yang mau memberikan penjelasan mengenai session_save_path berikut penerapannya ???

Wawan Brutalx 4:42pm Oct 25
itu untuk mendefinisikan letak session akan disave gan.. SESSION itu sebenarnya disimpan dan berupa file gan

Idle Track 4:44pm Oct 25
Maksudnya, apa nanti ada filenya begitu yah ???

Wawan Brutalx 4:45pm Oct 25
coba agan phpinfo(). ntr keliatan session.save_path saat ini

Idle Track 4:47pm Oct 25
Oke, saya coba dulu mas,,,

Idle Track 4:50pm Oct 25
pas saya lihat phpinfo() keterangannya ada di

C:\xampp\tmp

Wawan Brutalx 4:51pm Oct 25
nah function tadi berfungsi buat agan mau ubah C:\xampp\tmp ke tempat lain gan

Idle Track 4:52pm Oct 25
Oh, jadi nanti PATH dari sessionnya bisa dialihkan ke tempat lain yah mas ???

Wawan Brutalx 4:53pm Oct 25
yuppp.. begitu mas

Idle Track 4:55pm Oct 25
Bentar mas, kalau saya lihat di path C:\xampp\tmp banyak file yang namanya seperti ini :

sess_96jbbfjlcn0tt2ns15mdserm04
sess_ngnniveue0fiu746dgvqbl28q7
------------------------
------------------------

Apakah itu maksudnya file session ????

Wawan Brutalx 4:56pm Oct 25
96jbbfjlcn0tt2ns15mdserm04 <-- ini session id mas

Idle Track 4:58pm Oct 25
kalau kita ubah PATH nya apa tidak bermasalah nantinya mas ???

Wawan Brutalx 4:58pm Oct 25
ga masalah gan.. save_path hanya merubah letak dimana php akan menyimpan session nyaa..

Idle Track 5:00pm Oct 25
Oke, makasih yah (Y)

Wawan Brutalx 5:01pm Oct 25
sippp.. :)

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar