server-side Questions

3

I need to check if there's a token and if the token expired in getInitialProps, and then if the token is expired clear the Cookies from the browser and sign out the user. Here's what I'm doing so f...
Montero asked 5/12, 2020 at 17:54

13

Solved

I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this: client.send(message, r...
Downpipe asked 10/1, 2011 at 13:29

6

I work with Angular 11 Universal - server side rendering. I'm trying to implement Bootstrap 5 toasts (css works well), but it doesn't understand class new bootstrap: angular.json - it's imported p...

3

I am trying to figure out how to pass a variable declared on the server side of my nextjs 13 app into a client side function that I have declared in one of my component files. As you can see in my ...
Controvert asked 16/4, 2023 at 17:42

9

Solved

http://example.com/something/somewhere//somehow/script.js Does the double slash break anything on the server side? I have a script that parses URLs and i was wondering if it would break anything ...
Alrick asked 15/4, 2012 at 10:22

8

Solved

I am new to node.js programming .I am using nodemailer module for sending emails. const nodemailer = require ('nodemailer'), credentials=require('./credentials.js'); var mailTransport=nodemailer.c...
Rectus asked 15/11, 2014 at 17:20

3

Solved

Currently I have html Code like this: <!DOCTYPE html> <html> <body> <p>Select an element</p> <form action="/action"> <label for="fruit"...
Schwaben asked 21/1, 2021 at 9:21

2

I am trying to understand the correct flow for mobile app / server app - auto renewable subscriptions. Since verifyReceipt has been marked as deprecated, I am struggling with the question of how I ...
Olive asked 3/7, 2023 at 17:5

2

Solved

How can I use Razor in CSS files? I'm using Razor View Engine for some time and I was curious about using it on style sheets. I can use Razor in <style> blocks of .cshtml files but I was won...
Jailbird asked 23/4, 2012 at 11:43

7

Comparing this to Visual Studio Code all you need to do is allow source maps and VSCode will debug TypeScript however I can't achieve the same on WebStorm. I can easily debug server side JavaScrip...
Report asked 16/4, 2016 at 7:26

5

Solved

...in comparison to requests of normal link click behaviour. I thought I might be able to use this to throw away some cached stuff on the serverside. For a more technical orientated target audience...
Moretta asked 16/10, 2013 at 20:11

2

Solved

I chose to use a server-side session management with Flask using Flask-Session. I store the data using filesystem and as expected, these files are stored under a /flask_session folder in my confi...
Frondescence asked 18/12, 2018 at 22:16

6

I have a jquery datatable on my page, which uses server side processing to retrieve data. In this case, one of the columns contains html content, thus my server responses looks like this: "aaData"...
Fricke asked 7/9, 2012 at 14:49

1

I am new to V8 of tanstack react table ... appears to be quite different to V7 in some areas and would love some advice. I need to sort server-side using apollo graphql. From reading the docs I kno...
Should asked 4/11, 2022 at 17:57

3

How can I create a preview of a blog post stored in HTML? In other words, how can I "cut" HTML, making sure the tags close properly? Currently, I'm rendering the whole thing on the fronte...
Cryometer asked 26/12, 2020 at 16:54

5

I am trying to verifying that an auto-renewable In App purchase has not expired server side (not on a device). I am using Apple's Grand Unified Receipt (iOS 7 style transactions). The response re...
Nidianidicolous asked 9/9, 2014 at 23:20

2

Solved

I've tried using sha512 from NPM but it keeps hashing the wrong thing i.e I am supposed to get a string but it keeps returning object. So in PHP I know I can perform the task $hash = hash("sha512",...
Disrepair asked 30/4, 2019 at 17:48

7

Solved

I'm wondering about Heroku server status and can't find any documentation about this topic. Example: Process exited with status 143 Can anyone explain this example? And where would I find reso...
Bluhm asked 2/4, 2013 at 15:11

2

I got this error, although there is not a single line in the project with :first-child, why does it appear? ..........................................................................................
Eileen asked 28/7, 2019 at 10:3

5

Solved

I am using react-router-dom and I am guessing that this is causing the problem, but I have no clue where to even start looking or how to fix it. I also am getting errors like Warning: Did not expec...
Fang asked 16/11, 2017 at 18:19

6

Solved

Is the use of server side javascript prevalent? Why would one use it as opposed the any other server side scripting? Is there a specific use case(s) that makes it better than other server side lang...
Sogdian asked 27/3, 2009 at 20:13

1

I have a very big bundle size of one of my pages. How can I improve the first loading of the page in Next.js? Pls take a look on screenshot:

1

I have an Node.js app that has few native module which are created via node-gyp. These modules do not end up in "node_modules" and are being required via standard "require" from Node... My webpack...
Nimocks asked 28/9, 2015 at 21:33

5

Solved

How can I get Datatables Server-Side Processing script to work with a custom query? I need to select columns from multiple tables and have Datatables render them. Datatables.net's Server-Side Proc...
Krieger asked 27/8, 2016 at 16:29

2

I wish to refetch the data for each page using the 'server-side' mode of ag-grid. In order to do so i made the maxBlocksInCache 1 and the cacheBlockSize equal to the items per page. Until here it w...
Lighthouse asked 21/6, 2019 at 12:53

© 2022 - 2024 — McMap. All rights reserved.