Tag Archives: Scripting

  • Session Variable in WordPress

    Web application is stateless, which means once the request is fulfilled, all variables involved during the request will be gone. Most of the time, programmer needs to be able to access data that was set during previous session, and for this, there are many methods that can be used, one of them is using session.

    With session, data that is used during a request can be stored inside a text file on web server. When needed in different request, this data can be read so it will be available to be used during this new request.

  • Get-ChildItem in PowerShell

    One of the Cmdlets on PowerShell is Get-ChildItem. This command is used to get the items and child items in one or more specified locations. It provides functionality similar to dir command in Windows’ command.

    Most of the time, Get-ChildItem will return a list of items that you want to collect, for example, a list of files in a specific folder, etc. When you have a list, usually you want to know how many items are in the list. In PowerShell, this can be achieved by accessing the Count property of the list.

  • Email this page
  • Print this page
  • A  A  A
You can get this information from:
Close this window
Email This Information
To send the message, please fill the form below
Email To
Your Email

Please enter the text on the following image in the verification box below. Click here if you cannot read the text. All alphabets are in upper case.

Verification image