ProgScripting Languages

ProgScripting Languages

I am wanting to kill the php sessions after certain time say for example after 20 minutes of inactivity. I don’t know much about SESSION.GC_MAXLIFETIME and SESSION.COOKIE_LIFETIME but I am also unsure about the reliability of the same. How to implement a session time of my own in PHP? How to avoid garbage collector automatically destroying my sessions? How to time stamp my sessions on my own so that I can keep track of last activity in th session so that I can kill th session if I detect that the programmed time out has happened.

  • 694 views
  • 0 answers
  • 0 votes

Can I have a simple and easy way to to schedule an automatic HTTP request to an address like mdomain.com according to a rescheduled time so that i can automate some of the requests from client and the server, while the client can enter some power down modes reliably? I have heard about CRON but never used it. What is CRON in python/javascriting and how to make use of it in my requirement? any code snippets is greatly appreciated. The outcome of request can be some more HTTP requests and it is acceptable.

  • 550 views
  • 0 answers
  • 0 votes

I am trying to generate a sphere based on 3D walk plot and was almost successful. Now i need to generate the random walk points on the sphere to simulate the lighting effects later on but as of now, i cannot see the points getting joined. It simply displays as a dot in the window but doesn’t plot over the sphere. How to overlap the random points on sphere and make them connected? Is it possible to overlap two plots one over the other so that I can present my random walk points on any other 3D plots? Looking forward for your reply.

  • 625 views
  • 0 answers
  • 0 votes

I am facing this issue in python version 2.7. I am running a python script to create and collect multiple data from user and finally as a wrapped i add some details on the session which includes the group members name, topic of the discussion and a few database created in the session in the table formats. I want to generate pdf in the final stage. But when i call Saveas2 function, it successfully opens the save a window but also brings a error window telling command failed. What might be the reason?

  • 606 views
  • 0 answers
  • 0 votes

Am trying to work on a project which involves the following: The user will enter his registration number as an example and clicks on submit button present on the same page. As soon as the button is clicked, the value of the registration number should get displayed in second page. That is all my requirement is. I am here exactly trying to understand the procedure of sharing variables among multiple PHP pages. I am using sessions for this but unable to succeed. Is there any good approach than using sessions to get this done quickly?

  • 633 views
  • 0 answers
  • 0 votes

How to create a custom function to generate an output which will be a random number between two numbers. The two numbers can either be given by the user, or can be read from an existing array. Here are some conditions which I will explain with examples. I may want to generate a random number between 11 and 33. 11 inclusive and 33 exclusive. Similarly a random number between 42 and 52 both numbers exclusive etc. Hope i have stated the problem correctly and clearly. Can any body please guide me on random numbers on ruby on rails?

  • 568 views
  • 0 answers
  • 0 votes

I have to display images of an event in HTML page. I have got all the files on server already. I am using dream viewer to design the html file. How into sliders to a group of photos. The photos are of different size. How to make sliders work for different set of images of different sizes. How to set the window dynamic so that it adjusts itself for different images. Are there any image sliders which sense the mouse position and perform animations such as next or previous buttons? Thank you for replying.

  • 879 views
  • 0 answers
  • 1 votes

I am implementing online Database collection for a project on birds. I want the users to take photos around the birds and send them to me. In order to avoid email communication, I want to allow the users to upload the files to server themselves. I can make use of Google drive or drop box but since I have a space of decent GB in mu server itself, I want to know how to enable the end user of html page to upload a file into my server? Are there any built in functions for that in dream viewer?

  • 681 views
  • 1 answers
  • 0 votes

How to see whether the installed Matlab supports C program compiling? If I have installed Microsoft visual studio, does it mean that I already have a C compiler on my PC? How to link the C compiler in PC to Matlab so that the scripts can be written in C. Actually run programs written in C to run and perform along with Matlab. How to add C files to compile in Matlab window? How to view the results? What are the advanced ways of performing C and CPP compilation in Matlab? Guide to tutorials are welcome

  • 752 views
  • 1 answers
  • 0 votes

I am working on a server project where I need to collect data from the user in the form of .dat file and I have to process it and display the result online. The problem I am facing is once the user uploads the file there is no issue. But, assume user clicks on add files button, he selects multiple files and before clicking on upload button if he or she feels that one or some files in the selected list has to be removed, it cannot be done. Is this a known limitation? Is it browser dependant? Are there any solutions for the above said issue? Thank you for you time.

  • 612 views
  • 1 answers
  • 0 votes

Latest Articles

How To Choose The Right Linux VPS For Your Needs

Choosing the right Linux virtual private server (VPS) is a critical decision that can greatly impact your online projects, whether you’re running a website, hosting applications, or setting up a development environment. With various...

Benefits Of Storing And Sharing Documents In The Cloud

Have you ever wished you could access your important documents anytime, anywhere? With cloud document storage, that wish becomes a reality. In today’s fast-paced world, secure and accessible document management is more essential than...

From Lost To Found: Restore Your Data On Windows 11

Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...