How to force a web browser NOT to cache images

Background I am writing and using a very simple CGI-based (Perl) content management tool for two pro-bono websites. It provides the website administrator with HTML forms for events where they fill...

how to integrate fFacebook login with your website?

I made some research and i can't seem to completely understand how to integrate Facebook login with your website. I'm trying to do this for an old fashioned PHP shop that, up till now, doesn't use...

How to change max_allowed_packet size

I am having a problem with BLOB fields in my MySQL database - when uploading files larger than approx 1MB I get an error Packets larger than max_allowed_packet are not allowed. Here is what i've...

With PHP and MySQL, how do I properly write smart quotes to the database?

I have a PHP website with the CLEditor richtext control on it. When I try to write Euros and British Pounds to the database, the character goes through just fine because I have the charset set to...

How to create and implement a pixel tracking code

OK, here's a goal I've been looking for a while. As it's known, most advertising and analytics companies use a so called "pixel" code in order to track websites views, transactions, conversion...

how to handle session in mutliple tabs in a browser in c#

I am using asp.net C# and am unable to manage sessions per multiple tabs. The scenario for my website is, USER logs in, then Selects a job and then Apply for that job, and when user applies, an...

Getting Alembic Database Version Programmatically

I'm trying to figure out how to get the version of my database using Alembic. I've already gotten the database set up to use alembic and successfully performed both an upgrade and downgrade on it....

Send query to database while closing browser

On my website name combiner, I want to send query to database while closing browser i have tried this script but it didn't execute the query in database to change the value of column...

How to write denormalized data in Firebase

I've read the Firebase docs on Stucturing Data. Data storage is cheap, but the user's time is not. We should optimize for get operations, and write in multiple places. So then I might store a list...

Warning: mysqli_error() expects parameter 1 to be mysqli, string given in

I want to connect to a database (with xampp) called ranch and insert into this db some form data. The browser displays the error: Warning: mysqli_error() expects parameter 1 to be mysqli, string...

Realm Browser / Android Device Monitor?

I was wondering if there is any possible way to view the default.realm file from the android device monitor live in the Realm Browser. I am realizing that having to save this file each time I want...

Open a new tab in Safari programmatically using JS

I am developing on an Ember.js platform with an Microsoft Azure database for uploaded files. Since the content of these files are sensitive, we're relying on Azure's secure access api to allow our...

firebase storage cors strange Behaviour

I'm building an app in witch the user see a set of downsized images and than press " ok" for the app to download all of the original files, put them into a zip file and send the zip file. the app...

Magento: where data of custom modules in admin is persisted

I made a module for admin panel magento and added fields. All fields (text, textarea, etc) and their values are showing correctly. When I save it, they are also getting saved. I cleared session,...

EJS variable not defined

The previous questions on this topic seem to address issues I think I have covered properly. I cannot pass through some basic data into an index.ejs on render. app.js //MONGOOSE.MODEL CONFIG var...

User data bash script to start services in EC2 instance not executing

I'm having difficulty getting certain services running within my EC2 instance. I'm using an Amazon Linux AMI, and would like to start neo4j, the graphical database, as a service when my instance...

Laravel 5.7 session flash message for login intermittently working

I'm using Laravel 5.7 and have successfully sorted out login and logout for user using manual authentication. I have this in my login blade template to alert to bad credentials: @if...

ISSUE IN CONNECTING py2neo v4 to my neo4j server

I want to connect my neo4j's project server to py2neo in jupyter I actually have 2 problems: Given below is a picture of my neo4j browser connected with bolt//:localhost:11004, username: neo4j,...

PgAdmin4 starts empty

I installed PostgreSQL and PgAdmin4 on an Ubuntu 19.04 virtualbox guest (following this guide) Now I have the problem that PgAdmin4 does not show anything (after login). I have an empty Browser...

How to set timezone in quarkus to UTC

I am using quarkus 1.2.0. General: The client browser is asking for data from the server. Server (Quarkus app) is receiving the time in utc from the client. (ok) Now the server should compare the...

Never entering in cursor.moveToNext() in Android SQLite

I'm trying Official Documentation for Android this article. Creating Database, Table and inserting data is working fine. But I'm unable to get data from database. Here is the piece of code to...

JDOM: How to avoid 
 in pretty printed output?

How do I avoid 
 in my XML output? JDOM talks about this in the javadoc of the method Format.setLineSeparator. For the sake of this question, please assume that I only get an XML document that...

Error running npm install, returns This is a bug in `node-gyp`

I am new to Angular and Node. I am trying to execute an project created using Angular, Neo4j. At first, I tried to run it as it is. However, i am givem the following error after opening the...

Is it possible to hack and Update a firebase realtime database data

Recently i build a app using Firebase, But after i got Some users through advertisement, Someone just hacked Firebase database and Updated all user datas like . Username Profile pic path They set...

Unable to connect to a Kubernetes service through a web-browser via external IP

I'm using minikube for Kubernetes, Docker & VirtualBox for my applications. I've created a couple of services+deployments for a MySQL database and phpmyadmin. They're all green, indicating there's...

Web scraping: Run-time error 91 Object variable not set

I am trying to update my species database with information from this website: https://www.afcd.gov.hk/english/conservation/hkbiodiversity/database/search.php I have an xlsm with the list of...

How to fix: "@angular/fire"' has no exported member 'AngularFireModule'.ts(2305) ionic, firebase, angular

I'm trying to connect my app with a firebase db, but I receive 4 error messages on app.module.ts: '"@angular/fire"' has no exported member 'AngularFireModule'.ts(2305), '"@angular/fire/storage"'...

Getting Error Installing SQL Server 2019 in Windows 11

I am trying to install SQL Server 2019 in Windows 11. I am getting the following error for database engine and SQL Server Replication: Detailed results: Feature: Database...

UTF-8 not working in Java Application running in Tomcat server

I am working on a Java application. I need to get UTF-8 encoding in my Java webapp to support Bengali (বাংলা) text. I have done the following: Tomcat's server.xml <Connector...