We usually play with session and create the session by server side script like PHP. But, how we create session with client side script?
In this case is EXTJS. OK… You can store cookie instead of session for this case.
This is the code;
The first thing you need to do is setProvider and set a variable into it;
And then to get varA from cookies;
And if you need to clear that value from cookies
I actually use Ubuntu every day. But sometimes I perforce work with Windows, because my client familiar with Windows. In this case, my client is government. I had to teach an application that I made to the staff with windows OS.
Well… That’s just introduction that I sometimes work with XAMPP-Windows server.
In that case, I found trouble when importing MySQL database on XAMPP-Windows. Every single table name on it rename to lower case. This made my application doesn’t work at all. And here’s what to do when your MySQL rename every single table name;
1. find [drive]\xampp\mysql\bin\my.ini
2. look up for:
# The MySQL server [mysqld]
3. add line
lower_case_table_names = 2
In some case that I have read, you must add that line at the end of file
4. Save that file and restart your MySQL
Do you want to make a website like wordpress or blogspot with any subdomain on it? This is very easy if you try with CPanel & WHM 11. You just create asterix symbol on sub-domain and every single sub domain you type on url, its gonna be your subdomain 🙂
If you are frequently writing PHP script using a framework, I am pretty sure that you want a beautiful URL. So… And for sure, you are using local server to test it. By default mod_rewrite is not enable on Apache server. To enable it, just write this on command line;
$ sudo a2enmod rewrite
After that, you have to restart Apache to make the configuration work
This command line is using Ubuntu and you must log in as super user;
$ sudo /etc/init.d/apache2 start
$ sudo /etc/init.d/apache2 stop
$ sudo /etc/init.d/apache2 restart
Well… this is my first writing.
My ultimate goal to make this blog is learn english. But my topic most of software development and all about information technology.
So, if you find any error grammar and writing, please be tolerate. And the good thing if you give me correction about my grammar and writing and I will thank to you.