Search found 66 matches

by bbanelli
Mon Jun 15, 2020 4:04 pm
Forum: General Discussion
Topic: Security concerns, communication with database etc.
Replies: 8
Views: 3061

Re: Security concerns, communication with database etc.

Hi Markus, we have all started from scratch, my friend, nobody was born knowing it all. Well, except politicians, perhaps... ;) Anyway, as you have noticed, your PHP session is distributed via cookie. By making it a Secure cookie, it will be distributed only if connection is HTTPS on both parties; i...
by bbanelli
Mon Jun 15, 2020 1:32 pm
Forum: General Discussion
Topic: Security concerns, communication with database etc.
Replies: 8
Views: 3061

Re: Security concerns, communication with database etc.

Hi, as far as I am aware, but I know very little about PHP, its sessions are sent by cookie as default. Otherwise, how would your client return session to the server? There are options for passing them through GET request itself, but that is plainly stupid in 2020, IMNSHO. By not using cookie for se...
by bbanelli
Sun Jun 14, 2020 3:01 pm
Forum: Javascript
Topic: Need help with Cursor style
Replies: 4
Views: 5490

Re: Need help with Cursor style

menschmarkus wrote: Again my question. Is there any instruction how to implement JS in SB ?
All along, it was in a place no one would ever search...

https://www.spiderbasic.com/documentati ... nedjs.html
by bbanelli
Sun Jun 14, 2020 8:42 am
Forum: General Discussion
Topic: Security concerns, communication with database etc.
Replies: 8
Views: 3061

Re: Security concerns, communication with database etc.

a) I could implement the login screen directly in the SpiderBasic application, so that I can decide directly in SpiderBasic whether the user is allowed to continue working with the application or is kicked out immediately. Now SpiderBasic is finally JavaScript and runs on the user's browser. Wouldn...
by bbanelli
Thu Sep 19, 2019 9:32 am
Forum: Feature Requests and Wishlists
Topic: PHP output
Replies: 12
Views: 5294

Re: PHP output

Hi Paul, Thanks for the info. I agree that there are ways to use PureBasic for CGI programming. I just wish that it was easier to implement PHP. I have seen several posts on this forum from people asking about it, so I am trying to come up with suggestions for future releases of SpiderBasic. Your &...
by bbanelli
Sun Sep 01, 2019 6:47 pm
Forum: Coding Questions
Topic: directory function
Replies: 10
Views: 3666

Re: directory function

There should also be better explanations (and examples) of the interaction between SpiderBasic and other things like PHP. Perhaps. On the other hand, this is a programming language, not a cup of hot McDonald's coffee. Thus, some prerequisites are expected from the user, such as basic knowledge of c...
by bbanelli
Tue Aug 13, 2019 6:13 pm
Forum: General Discussion
Topic: PB to SB Conversion Q's
Replies: 16
Views: 7251

Re: PB to SB Conversion Q's

Forums are for knowledge transfer and I appreciate your opinions on this topic. I would only ask for a bit more civility. Sometimes passion gets in the way. ;) C'mon, the.weavster is a big tro^H^H^H boy, so am I, we'll live through this. ;) Not only am I looking forward to reading his reply, but we...
by bbanelli
Mon Aug 12, 2019 11:19 pm
Forum: General Discussion
Topic: PB to SB Conversion Q's
Replies: 16
Views: 7251

Re: PB to SB Conversion Q's

Ouch :? Just a bit harsh for poor old CGI. Still in use in embedded processors and closed networks that serve up compiled code. Well, COBOL is still used in certain applications, but you don't see anything new and sane (in terms of usefulness) written in it in last... 30 years? Very light weight an...
by bbanelli
Sun Aug 11, 2019 9:05 pm
Forum: General Discussion
Topic: PB to SB Conversion Q's
Replies: 16
Views: 7251

Re: PB to SB Conversion Q's

Instead, for server side, consider GoLang. Consequently, you would have to use GopherJS or the Joy Compiler now. ;) I don't see a single reason why would you do so. Go package main import ( "encoding/json" "net/http" ) type spiderStruct struct { NavigatorPlatform string `json:&q...
by bbanelli
Fri Aug 09, 2019 9:59 am
Forum: General Discussion
Topic: PB to SB Conversion Q's
Replies: 16
Views: 7251

Re: PB to SB Conversion Q's

I know this is an old topic, but I would strongly discourage using (any, let alone PB's) CGI in 2019. Instead, for server side, consider GoLang. It is not OO, it is modern but very human readable (like PB), and you can pack whole SB app in it and deploy it on any PaaS/SaaS platform (Heroku, Docker.....