|
thanks Richard
here is another question:
when a user is using a service like facebook he can complete various tasks with some time passing between the tasks, how does the computer on the far end (back end) responds to that? Is there a line constantly open (from the moment a login has taken place) that the far end computer is listening to, (in the likes of a never ending session), or is there an identifier attributed to every message coming from the user facebook page so that when the message arrives and is being processed it is treated as safe/with no security checks needed (like no need for user to log in for every message that is being sent)?
thanks
|
|
|
|
|
When the user logs in, the system sends a token back to the browser. The browser then sends that token with every further message so the back end system knows which account it belongs to. That is an over simplification and in reality it may be more complicated to ensure security.
|
|
|
|
|
again, thanks for feedback Richard
|
|
|
|
|
"Quote: What kind of tech are Internet search engines using on the front end (it looks like that`s what the part of the Internet that takes place on your computer is being called as). "
That depends upon who owns or operates that search engine.
This can vary a lot depending on which search engine you use and which operating system you use and what is already on your computer.
Two very different examples:
(1.)
If you are on a duckduckgo.com search engine, on a device without any UEFI anywhere on it, and your operating system is pre-Windows XP with service pack 3 (meaning before service pack 3), or your operating system is UNIX, or VMS VAX, or some flavor of Unix without the newly added back-doors, then they probably use cookies for as much as they can, without too much invasion of your privacy.
(2.)
If you are using a Google search engine, on a device with a Google controlled operating system,
then they might be already key logging all of your act ivies (via UEFI),
and using your camera to make a video of your activates (via UEFI),
and using your microphone and/or your device's speaker and/or your device's headphones (via UEFI),
on that device and already sending that data to Google, and they might be using that data to pre-judge what they decide that you should be allowed to ask and what they decide that you should be allowed to see and what they decide that you should be allowed to hear on your device.
Thank you for asking.
|
|
|
|
|
Way back in the day, I used Wolf CMS, which was a fork of Frog CMS. It did require a database but was very lightweight, much more so than WordPress. You had to create your own templates, which then became models for your site's pages. There was no templating language; it was just PHP. Wolf CMS is still around but only because the internet never forgets.
Now that I go to look, all I seem to find are the big CMS, like WordPress, Drupal, Django, etc. and a few tiny ones that use text files and no actual database. Did all the rest die off, like all the word-processing apps that died off when Microsoft released Word?
|
|
|
|
|
Ok, it seems the answer is no. There are a few headless CMSs out there, but it seems it's a WordPress world now. Remember when there were half a dozen word processing applications to choose from?
|
|
|
|
|
Unfortunately the Wordpress took almoust all the CMS market. These are 3 of the headless CMS out there: Magnolia, Netlify and Contentful with Gatsby
|
|
|
|
|
Yes, apparently. I also found a German CMS called phpwcms, but I don't think development is active.
|
|
|
|
|
I have a simple Perl script that uploads a file from an HTML form, and it does works. i.e Uploads a file from my local Mac HD to my web server via a webpage.
What I have noticed, however, if I try to upload files from Microsoft's OneDrive I am more likely to get the following info below. I have no problems using my OneDrive via Mac's Finder, or my iPhone, etc.
access.log
[14/Feb/2022:23:36:51 -0500] "POST /cgi-bin/upload2.pl HTTP/1.1" 408 487 "http://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15"
error.log
[Mon Feb 14 23:37:02.121496 2022] [cgi:error] [pid 3734:tid 140367391328000] (70007)The timeout specified has expired: [client -.-.-.-:58184] AH01225: Error reading request entity data, referer: http://example.com/
My Apache2 settings are:
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
At my slim level of knowledge of Apache, I am assuming that my problem is all about timing. If that's the case, can I change settings above to help? Or am I off base?
*One small thing I noticed, but I don't know if it means anything
My web browser says:
Quote: Server timeout waiting for the HTTP request from the client. and it mentions port 80.
However, in the error.log it mentions port 58184. I don't know if that's normal, due to routers, other routine behavior.
|
|
|
|
|
This is the same question you posted three days ago; please do not repost. If you have information to add or update then please edit the original.
|
|
|
|
|
Honestly, I looked for it here, and couldn't find it. So I thought I must have not hit submit.
I can't post an image here, but when I look at My Questions, it says zero.
Ergo an honest mistake...though why doesn't it show either question?
|
|
|
|
|
Questions in the forums are listed under "My Messages"; the "My Questions" link is for questions in the Quick Answers section.
|
|
|
|
|
Ok, well, I'll say the syntax then is strange. But I understand the wrongs of double posting. I'll wait an hour to make sure you see this...then delete the double post.
Really, an honest mistake out of desperation. Have posted this question to so many forums, I've forgotten which ones...and haven't gotten a single reply. Your reply to me was my. hopes going up, then quickly dashed.
Thanks for understanding
|
|
|
|
|
|
This is crossposted in Stack Overflow but hasn't gotten many views, or any answers.
I have a simple Perl script that uploads a file from an HTML form, and it does works. i.e Uploads a file from my local Mac HD to my web server via a webpage.
When I use OneDrive from any device, through Finder, or Word, Excel, etc.. it acts like just another HD, so I expected the same behavior with my perl . What I have noticed, however, if I try to upload files from Microsoft's OneDrive I am more likely to get the following info below. I have no problems using my OneDrive via Mac's Finder, or my iPhone, etc.
access.log
[14/Feb/2022:23:36:51 -0500] "POST /cgi-bin/upload2.pl HTTP/1.1" 408 487 "http://example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15"
error.log
[Mon Feb 14 23:37:02.121496 2022] [cgi:error] [pid 3734:tid 140367391328000] (70007)The timeout specified has expired: [client -.-.-.-:58184] AH01225: Error reading request entity data, referer: http://example.com/
My Apache2 settings are:
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
At my slim level of knowledge of Apache, I am assuming that my problem is all about timing. If that's the case, can I change settings above to help? Or am I off base?
*One small thing I noticed, but I don't know if it means anything
My web browser says:
"Server timeout waiting for the HTTP request from the client. and it mentions port 80."
However, in the error.log it mentions port 58184. I don't know if that's normal, due to routers, other routine behavior.
|
|
|
|
|
Seems like here it is almost non existent.
Reddit has some, but not much.
Bjorn
|
|
|
|
|
Look up CSS rant ... The day I run into a big purple people eater and he asks me to stand up in his cabinet ... that's the day I'll write an article on progressive web applications.
modified 19-Feb-22 16:02pm.
|
|
|
|
|
There is no separate forum to discuss PWA development
|
|
|
|
|
i am new at express and i went through the documentation and i want to know what are the main usage of the req.route() in express it only gives me information about the route nothing else but what can i use it in real life.
What I have tried:
i have read in the main documentation but there is no details about usage of this method specifically
|
|
|
|
|
app.use() — Routes an HTTP request, where METHOD is the HTTP method of the request, such as GET, PUT, POST, and so on, in lowercase.
|
|
|
|
|
req.route() will give you the complete requested URL and the req.path will give you only the current page like /mypage.html
|
|
|
|
|
Hello, I am trying to teach myself web development and I found a form I wanted to duplicate on a roof construction website.
All my input boxes are centered except the last one that's a bit off and I cannot figure out why. The class is "powerwall-battery-input"
Please don't be like stack overflow and constantly criticize the format of my question because it has gotten old over there, which is why I am here.
Thanks
Here is my code:
<main class="calc-wrapper">
<!--
<form class="calc-form" action="form-results.html" method="get">
<label for="first-name" class="label first-name-label">
First Name
</label>
<input type="text" class="first-name-input" />
<label for="last-name" class="label last-name-label"> Last Name </label>
<input type="text" class="last-name-input" />
<!--
<label class="label addr-sec-label" for="addr-sec"
>Address Selection*</label
>
<input type="text" class="input" placeholder="Address" id="location" />
<input
type="text"
class="input"
placeholder="Apt, Suite, etc (optional)"
/>
<input type="text" class="input" placeholder="City" id="locality" />
<input
type="text"
class="input"
placeholder="State/Province"
id="administrative_area_level_1"
/>
<input
type="text"
class="input"
placeholder="Zip/Postal code"
id="postal_code"
/>
<input type="text" class="input" placeholder="Country" id="country" />
<div class="map" id="map"></div>
<!--
<div class="roof-complexity">
<label class="label roof-complexity-label" for="roof-complexity"
>Roof Complexity Type*</label
>
<select
class="roof-complexity-input"
id="roof-complexity-input"
name="roof-complexity"
>
<option selected disabled hidden>Select an Option</option>
<option id="simple" value="simple">Simple</option>
<option id="moderate" value="moderate">Moderate</option>
<option id="complex" value="complex">Complex</option>
</select>
</div>
<div class="system-size">
<label class="label system-size-label" for="system-size"
>Select System Size*</label
>
<button class="btn calc-form-btn system-size-minus-btn" type="button">
-
</button>
<input
class="system-size-input"
id="system-size-input"
value="4.0"
/>
<button class="btn calc-form-btn system-size-plus-btn" type="button">
+
</button>
</div>
<div class="powerwall-battery">
<label class="label powerwall-battery-label" for="powerwall-battery"
>Select Powerwall Battery Storage (in units)*</label
>
<button
class="btn calc-form-btn powerwall-battery-minus-btn"
type="button"
>
-
</button>
<input class="powerwall-battery-input" id="powerwall-battery-input" />
<button
class="btn calc-form-btn powerwall-battery-plus-btn"
type="button"
>
+
</button>
</div>
</form>
<!--
<div class="totals-section">
<label class="label roof-before-itc" for="roof-before-itc"
>Solar Roof Price Before Incentives</label
>
<input type="text" class="input" id="roof-price-before-itc" />
<label
class="label powerwall-price-before-itc"
for="powerwall-price-before-itc"
>Powerwall Price Before Incentives</label
>
<input class="input" id="powerwall-price-before-itc" value=" " />
<label class="label est-total-before-itc" for="est-total-before-itc"
>Estimated Total Price Before Incentives</label
>
<input type="text" class="input" id="est-total-before-itc" />
<label class="label est-itc" for="est-itc">Estimated Solar ITC</label>
<input type="text" class="input" id="est-itc" />
</div>
</main>
:root {
--mainFont: "Arial";
--textFont: "Open Sans", sans-serif;
--secondaryFont: "Raleway", sans-serif;
--primary: #4f5449;
--darkGray: #2f2e2e;
--lightGray: #ebebeb;
--white: #fff;
--black: #000;
--darkorange: orange;
}
*,
*:before,
*:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 62.5%;
}
body {
font-family: var(--mainFont);
font-size: 1.6rem;
line-height: 2;
}
.calc-wrapper {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.calc-form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 5rem;
margin-bottom: 5rem;
width: 50%;
padding: 5rem;
}
.first-name-input {
width: 50%;
padding: 2rem;
}
.last-name-input {
width: 50%;
padding: 2rem;
}
.sb-title {
font-family: var(--mainFont);
font-weight: bold;
}
.addr-sec-input {
width: 100%;
padding: 2rem;
}
.input {
width: 50%;
padding: 2rem;
text-align: center;
}
.label {
margin-top: 2rem;
font-weight: bold;
text-align: center;
display: block;
}
.home-size-input {
padding: 2rem;
text-align: center;
}
.roof-complexity-input {
padding: 2rem;
text-align: center;
}
.system-size {
display: block;
}
.system-size-input {
padding: 2rem;
text-align: center;
}
.powerwall-battery {
display: block;
}
.powerwall-battery-input {
padding: 2rem;
text-align: center;
}
.calc-form-btn {
background-color: var(--primary);
border: none;
color: var(--white);
padding: 0 1.5rem;
text-align: center;
text-decoration: none;
font-size: 2rem;
border-radius: 0.5rem;
cursor: pointer;
}
.totals-section {
border: var(--black);
border-style: solid;
background: var(--darkorange);
width: 50%;
margin-right: 5rem;
border-width: 1px;
padding: 5rem;
display: flex;
flex-direction: column;
align-items: center;
width: 25%;
}
.submit-section {
text-align: center;
margin-bottom: 5rem;
}
.submit-btn {
border-style: solid;
border-width: 1px 1px 1px 1px;
border-color: #FFFFFF;
color: #FFFFFF;
background-color: var(--primary);
padding: 4rem;
font-size: 2rem;
text-transform: uppercase;
border-radius: 1rem;
width: 10%;
}
.submit-btn {
cursor: pointer;
}
|
|
|
|
|
|
Using Asp.Net, javascript, jquery...
We have four environments in which we run our code - Dev, Test, QA, and Production.
The only environment in which we have access to the servers is Dev. The rest are maintained by our cloud provider.
In this case, the user clicks a button to navigate to another (local) page.
Recently, the Test environment has started redirecting from the desired page to the site's home page. All of the other environments work fine.
The desired page does in fact exist, and is in the expected location, but when the user clicks the button, he gets redirected to the home page (and the user is still logged in to the app). Again, this only happens in our Test environment.
Does anyone have any idea what could cause this to happen? An IIS setting perhaps?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 4-Feb-22 5:52am.
|
|
|
|
|
Message Closed
modified 5-Jul-22 7:59am.
|
|
|
|
|