Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17160 > unrolled thread
| Started by | bit-naughty@hotmail.com |
|---|---|
| First post | 2016-12-01 09:50 -0800 |
| Last post | 2016-12-01 20:03 +0100 |
| Articles | 14 — 7 participants |
Back to article view | Back to comp.lang.php
Multipart questions bit-naughty@hotmail.com - 2016-12-01 09:50 -0800
Re: Multipart questions Cybercode <lambda@dr.com> - 2016-12-01 18:36 +0000
Re: Multipart questions Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-02 01:06 +0100
Re: Multipart questions Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-01 19:48 -0500
Re: Multipart questions Arno Welzel <usenet@arnowelzel.de> - 2016-12-03 12:55 +0100
Re: Multipart questions Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-03 10:12 -0500
Re: Multipart questions Arno Welzel <usenet@arnowelzel.de> - 2016-12-04 23:24 +0100
Re: Multipart questions Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-05 00:17 +0100
Re: Multipart questions Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-04 19:17 -0500
Re: Multipart questions "R.Wieser" <address@not.available> - 2016-12-05 10:08 +0100
Re: Multipart questions Jerry Stuckle <jstucklex@attglobal.net> - 2016-12-05 08:27 -0500
Re: Multipart questions "R.Wieser" <address@not.available> - 2016-12-05 16:33 +0100
Re: Multipart questions Arno Welzel <usenet@arnowelzel.de> - 2016-12-05 19:06 +0100
Re: Multipart questions "J.O. Aho" <user@example.net> - 2016-12-01 20:03 +0100
| From | bit-naughty@hotmail.com |
|---|---|
| Date | 2016-12-01 09:50 -0800 |
| Subject | Multipart questions |
| Message-ID | <083d5e3f-1bb8-4caf-9372-2c4ced60bb2f@googlegroups.com> |
I've used sites, for example, a bank's where you login with your username and password, and then it asks you "security questions" - like, your favourite colour, whatever, etc. etc. How is this sort of thing coded? The security questions appear without a refresh, mind you, ie. on the same page - so after the name+pwd authentication is done, does *client side Javascript* set some sort of cookie? If, after entering your username and password, the security quesions appear, and you refresh the page - what happens exactly? The authentication will happen again, and *another* cookie will be set..... - how does the system protect against that?
[toc] | [next] | [standalone]
| From | Cybercode <lambda@dr.com> |
|---|---|
| Date | 2016-12-01 18:36 +0000 |
| Message-ID | <P4_%z.146464$a14.134302@fx45.am4> |
| In reply to | #17160 |
bit-naughty@hotmail.com wrote: > I've used sites, for example, a bank's where you login with your username and password, and then it asks you "security questions" - like, your favourite colour, whatever, etc. etc. How is this sort of thing coded? The security questions appear without a refresh, mind you, ie. on the same page - so after the name+pwd authentication is done, does *client side Javascript* set some sort of cookie? If, after entering your username and password, the security quesions appear, and you refresh the page - what happens exactly? The authentication will happen again, and *another* cookie will be set..... - how does the system protect against that? Sounds to me like it uses XHR in order to request your security question from the server after you have entered your login credentials. XHR is often used with AJAX in order to update pages with new information from the server without having to reload the page. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest and https://developer.mozilla.org/en-US/docs/AJAX can provide you with more information about this.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-12-02 01:06 +0100 |
| Message-ID | <1976808.iZASKD2KPV@PointedEars.de> |
| In reply to | #17161 |
Cybercode wrote: > bit-naughty@hotmail.com wrote: >> I've used sites, for example, a bank's where you login with your username >> and password, and then it asks you "security questions" - like, your >> favourite colour, whatever, etc. etc. How is this sort of thing coded? >> The security questions appear without a refresh, mind you, ie. on the >> same page - so after the name+pwd authentication is done, does *client >> side Javascript* set some sort of cookie? If, after entering your >> username and password, the security quesions appear, and you refresh the >> page - what happens exactly? The authentication will happen again, and >> *another* cookie will be set..... - how does the system protect against >> that? > > Sounds to me like it uses XHR in order to request your security question > from the server after you have entered your login credentials. Not necessarily. In fact, it is more likely that it happens in an iframe. Bank sites, for example, are not usually based on XHR. > XHR is often used with AJAX in order to update pages with new information > from the server without having to reload the page. XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX (Asynchronous JavaScript and XML) is the historic marketing buzzword, in common cases a *misnomer*. > https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest > and > https://developer.mozilla.org/en-US/docs/AJAX > can provide you with more information about this. Please read that carefully yourself, and post here using your real name only. -- PointedEars Zend Certified PHP Engineer <http://www.zend.com/en/yellow-pages/ZEND024953> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2016-12-01 19:48 -0500 |
| Message-ID | <o1qgal$erv$1@jstuckle.eternal-september.org> |
| In reply to | #17163 |
On 12/1/2016 7:06 PM, Thomas the infamous troll 'Pointed Head' Lahn wrote: > Cybercode wrote: > >> bit-naughty@hotmail.com wrote: >>> I've used sites, for example, a bank's where you login with your username >>> and password, and then it asks you "security questions" - like, your >>> favourite colour, whatever, etc. etc. How is this sort of thing coded? >>> The security questions appear without a refresh, mind you, ie. on the >>> same page - so after the name+pwd authentication is done, does *client >>> side Javascript* set some sort of cookie? If, after entering your >>> username and password, the security quesions appear, and you refresh the >>> page - what happens exactly? The authentication will happen again, and >>> *another* cookie will be set..... - how does the system protect against >>> that? >> >> Sounds to me like it uses XHR in order to request your security question >> from the server after you have entered your login credentials. > > Not necessarily. In fact, it is more likely that it happens in an iframe. > Bank sites, for example, are not usually based on XHR. > Not if they are intelligent, they are not. But it sounds like something *YOU* would do. >> XHR is often used with AJAX in order to update pages with new information >> from the server without having to reload the page. > > XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX > (Asynchronous JavaScript and XML) is the historic marketing buzzword, > in common cases a *misnomer*. > AJAX is the *proper* terminology for the technology. XMLHTTPRequest (sic) is only one method of implementing it. Wrong again,. >> https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest >> and >> https://developer.mozilla.org/en-US/docs/AJAX >> can provide you with more information about this. > > Please read that carefully yourself, and post here using your real name > only. > Please stop continuing to show your ignorance and stupidity. Cybercode is right in his update. You are wrong (as usual). -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2016-12-03 12:55 +0100 |
| Message-ID | <a10f9bea-6c34-bce8-c9b7-58568a440222@arnowelzel.de> |
| In reply to | #17164 |
Jerry Stuckle wrote: > On 12/1/2016 7:06 PM, Thomas the infamous troll 'Pointed Head' Lahn wrote: [...] >> XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX >> (Asynchronous JavaScript and XML) is the historic marketing buzzword, >> in common cases a *misnomer*. >> > > AJAX is the *proper* terminology for the technology. XMLHTTPRequest > (sic) is only one method of implementing it. Wrong again,. "AJAX" is a concept, not a "technology". See <https://developer.mozilla.org/en-US/docs/AJAX>: "Asynchronous JavaScript + XML, while not a technology in itself, is a term coined in 2005 by Jesse James Garrett ..." And from the guy who invented the term "AJAX": <http://adaptivepath.org/ideas/ajax-new-approach-web-applications/> "Defining Ajax Ajax isn’t a technology. It’s really several technologies, each flourishing in its own right, coming together in powerful new ways. Ajax incorporates: - standards-based presentation using XHTML and CSS; - dynamic display and interaction using the Document Object Model; - data interchange and manipulation using XML and XSLT; - asynchronous data retrieval using XMLHttpRequest; - and JavaScript binding everything together." So XMLHTTPRequest is just one element of the *concept* AJAX, but an important one. And eventhough it is not required technically, the idea was to use XML - that's why it's call "XMLHTTPRequest" and not just "HTTPRequest". -- Arno Welzel https://arnowelzel.de https://de-rec-fahrrad.de http://fahrradzukunft.de
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2016-12-03 10:12 -0500 |
| Message-ID | <o1un95$813$1@jstuckle.eternal-september.org> |
| In reply to | #17167 |
On 12/3/2016 6:55 AM, Arno Welzel wrote: > Jerry Stuckle wrote: > >> On 12/1/2016 7:06 PM, Thomas the infamous troll 'Pointed Head' Lahn wrote: > [...] >>> XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX >>> (Asynchronous JavaScript and XML) is the historic marketing buzzword, >>> in common cases a *misnomer*. >>> >> >> AJAX is the *proper* terminology for the technology. XMLHTTPRequest >> (sic) is only one method of implementing it. Wrong again,. > > "AJAX" is a concept, not a "technology". > > See <https://developer.mozilla.org/en-US/docs/AJAX>: > > "Asynchronous JavaScript + XML, while not a technology in itself, is a > term coined in 2005 by Jesse James Garrett ..." > > And from the guy who invented the term "AJAX": > > <http://adaptivepath.org/ideas/ajax-new-approach-web-applications/> > > "Defining Ajax > > Ajax isn’t a technology. It’s really several technologies, each > flourishing in its own right, coming together in powerful new ways. > Ajax incorporates: > > - standards-based presentation using XHTML and CSS; > - dynamic display and interaction using the Document Object Model; > - data interchange and manipulation using XML and XSLT; > - asynchronous data retrieval using XMLHttpRequest; > - and JavaScript binding everything together." > > So XMLHTTPRequest is just one element of the *concept* AJAX, but an > important one. And eventhough it is not required technically, the idea > was to use XML - that's why it's call "XMLHTTPRequest" and not just > "HTTPRequest". > > Technology: 1. the branch of knowledge that deals with the creation and use of technical means and their interrelation with life, society, and the environment, drawing upon such subjects as industrial arts, engineering, applied science, and pure science. 2. the application of this knowledge for practical ends. 3. the terminology of an art, science, etc.; technical nomenclature. 4. a scientific or industrial process, invention, method, or the like. 5. the sum of the ways in which social groups provide themselves with the material objects of their civilization. It seems to fit, no matter what someone without a decent knowledge of the English language says in an 11 year old post. And most knowledgeable programmers consider it a technology - at least in 2016. Do you argue with everyone, Arno? Or just those more intelligent than you? Wait - I guess that is about everyone (except maybe Pointed Head and TNP). -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2016-12-04 23:24 +0100 |
| Message-ID | <d4982f34-906a-5954-1427-943d3e2db610@arnowelzel.de> |
| In reply to | #17168 |
Jerry Stuckle wrote: > On 12/3/2016 6:55 AM, Arno Welzel wrote: >> Jerry Stuckle wrote: >> >>> On 12/1/2016 7:06 PM, Thomas the infamous troll 'Pointed Head' Lahn wrote: >> [...] >>>> XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX >>>> (Asynchronous JavaScript and XML) is the historic marketing buzzword, >>>> in common cases a *misnomer*. >>>> >>> >>> AJAX is the *proper* terminology for the technology. XMLHTTPRequest >>> (sic) is only one method of implementing it. Wrong again,. >> >> "AJAX" is a concept, not a "technology". >> >> See <https://developer.mozilla.org/en-US/docs/AJAX>: >> >> "Asynchronous JavaScript + XML, while not a technology in itself, is a >> term coined in 2005 by Jesse James Garrett ..." >> >> And from the guy who invented the term "AJAX": >> >> <http://adaptivepath.org/ideas/ajax-new-approach-web-applications/> >> >> "Defining Ajax >> >> Ajax isn’t a technology. It’s really several technologies, each >> flourishing in its own right, coming together in powerful new ways. >> Ajax incorporates: >> >> - standards-based presentation using XHTML and CSS; >> - dynamic display and interaction using the Document Object Model; >> - data interchange and manipulation using XML and XSLT; >> - asynchronous data retrieval using XMLHttpRequest; >> - and JavaScript binding everything together." >> >> So XMLHTTPRequest is just one element of the *concept* AJAX, but an >> important one. And eventhough it is not required technically, the idea >> was to use XML - that's why it's call "XMLHTTPRequest" and not just >> "HTTPRequest". >> >> > > Technology: [...] > It seems to fit, no matter what someone without a decent knowledge of > the English language says in an 11 year old post. And most > knowledgeable programmers consider it a technology - at least in 2016. > > Do you argue with everyone, Arno? Or just those more intelligent than > you? Wait - I guess that is about everyone (except maybe Pointed Head > and TNP). No, I don't argue with everone. I just referred to the guy wo *invented* the term "Ajax" and he does not call it a "technology" himself. BTW: About the author Jesse James Garrett: <https://en.wikipedia.org/wiki/Jesse_James_Garrett> "Garrett was born in Ottawa, Ontario, Canada,[17] and grew up in Florida. He lived in Los Angeles for 5 years before moving to San Francisco in 1999." So I believe he has a decent knowledge of his mother tongue, don't you? -- Arno Welzel https://arnowelzel.de https://de-rec-fahrrad.de http://fahrradzukunft.de
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-12-05 00:17 +0100 |
| Message-ID | <2154243.ocgFhWona3@PointedEars.de> |
| In reply to | #17169 |
Arno Welzel wrote: > Jerry Stuckle wrote: >> Do you argue with everyone, Arno? Or just those more intelligent than >> you? Wait - I guess that is about everyone (except maybe Pointed Head >> and TNP). > > No, I don't argue with everone. […] Most importantly, “Never argue with an idiot. They will only bring you down to their level and beat you with experience.” —George Carlin (1937–2008) IOW: *Please* do not feed the troll. TIA. -- PointedEars Zend Certified PHP Engineer <http://www.zend.com/en/yellow-pages/ZEND024953> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2016-12-04 19:17 -0500 |
| Message-ID | <o22bl7$tq0$1@jstuckle.eternal-september.org> |
| In reply to | #17169 |
On 12/4/2016 5:24 PM, Arno Welzel wrote: > Jerry Stuckle wrote: > >> On 12/3/2016 6:55 AM, Arno Welzel wrote: >>> Jerry Stuckle wrote: >>> >>>> On 12/1/2016 7:06 PM, Thomas the infamous troll 'Pointed Head' Lahn wrote: >>> [...] >>>>> XMLHTTPRequest (XHR) is the *proper* term for that technology; AJAX >>>>> (Asynchronous JavaScript and XML) is the historic marketing buzzword, >>>>> in common cases a *misnomer*. >>>>> >>>> >>>> AJAX is the *proper* terminology for the technology. XMLHTTPRequest >>>> (sic) is only one method of implementing it. Wrong again,. >>> >>> "AJAX" is a concept, not a "technology". >>> >>> See <https://developer.mozilla.org/en-US/docs/AJAX>: >>> >>> "Asynchronous JavaScript + XML, while not a technology in itself, is a >>> term coined in 2005 by Jesse James Garrett ..." >>> >>> And from the guy who invented the term "AJAX": >>> >>> <http://adaptivepath.org/ideas/ajax-new-approach-web-applications/> >>> >>> "Defining Ajax >>> >>> Ajax isn’t a technology. It’s really several technologies, each >>> flourishing in its own right, coming together in powerful new ways. >>> Ajax incorporates: >>> >>> - standards-based presentation using XHTML and CSS; >>> - dynamic display and interaction using the Document Object Model; >>> - data interchange and manipulation using XML and XSLT; >>> - asynchronous data retrieval using XMLHttpRequest; >>> - and JavaScript binding everything together." >>> >>> So XMLHTTPRequest is just one element of the *concept* AJAX, but an >>> important one. And eventhough it is not required technically, the idea >>> was to use XML - that's why it's call "XMLHTTPRequest" and not just >>> "HTTPRequest". >>> >>> >> >> Technology: > [...] >> It seems to fit, no matter what someone without a decent knowledge of >> the English language says in an 11 year old post. And most >> knowledgeable programmers consider it a technology - at least in 2016. >> >> Do you argue with everyone, Arno? Or just those more intelligent than >> you? Wait - I guess that is about everyone (except maybe Pointed Head >> and TNP). > > No, I don't argue with everone. I just referred to the guy wo *invented* > the term "Ajax" and he does not call it a "technology" himself. > > BTW: About the author Jesse James Garrett: > > <https://en.wikipedia.org/wiki/Jesse_James_Garrett> > > "Garrett was born in Ottawa, Ontario, Canada,[17] and grew up in > Florida. He lived in Los Angeles for 5 years before moving to San > Francisco in 1999." > > So I believe he has a decent knowledge of his mother tongue, don't you? > Obviously not. And just because a guy "invented" something doesn't mean he gets to call it what he wants. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@not.available> |
|---|---|
| Date | 2016-12-05 10:08 +0100 |
| Message-ID | <58452dfc$0$21494$e4fe514c@news.xs4all.nl> |
| In reply to | #17171 |
Jerry, > And just because a guy "invented" something doesn't mean he > gets to call it what he wants. Wrong argument, as you seem to be responding to a strawman. Read what has been posted he said again, and wonder : did he there actually deny that Ajax is a technology (and what than _does_ he call it ?), or did he just say it was not *one*, technology, but *several ones combined* (which, I can imagine, could be called a technology in its own right). Regards, Rudy Wieser
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2016-12-05 08:27 -0500 |
| Message-ID | <o23ptr$n12$1@jstuckle.eternal-september.org> |
| In reply to | #17172 |
On 12/5/2016 4:08 AM, R.Wieser wrote: > Jerry, > >> And just because a guy "invented" something doesn't mean he >> gets to call it what he wants. > > Wrong argument, as you seem to be responding to a strawman. > > Read what has been posted he said again, and wonder : did he there actually > deny that Ajax is a technology (and what than _does_ he call it ?), or did > he just say it was not *one*, technology, but *several ones combined* > (which, I can imagine, could be called a technology in its own right). > > Regards, > Rudy Wieser > > No, Arno doesn't even rate "strawman". And yes, Arno did deny that Ajax is a technology: "AJAX" is a concept, not a "technology". But then Arno is good at arguing from a position of ignorance, just to argue. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | "R.Wieser" <address@not.available> |
|---|---|
| Date | 2016-12-05 16:33 +0100 |
| Message-ID | <5845881c$0$21408$e4fe514c@news.xs4all.nl> |
| In reply to | #17173 |
Jerry, > No, Arno doesn't even rate "strawman". "Strawman" as in his quote, not as in a person. To put it simpler: He posted a quote that does not supply any proof or disproof to *anything*, but made you believe it did. As a result you're attacking windmills. > And yes, Arno did deny that Ajax is a technology: "AJAX" is a concept, > not a "technology". Is it *really* that important what he wants to call it ? Would it change anything for *you* if he would call it "jeanette" ? And maybe you both are right, depending on when you learned the word, its context and maybe even country, ever thought of that ? > But then Arno is good at arguing from a position of ignorance, > just to argue. For an argument like that at least two people are needed. If only one is left the argument dies because of a lack of fuel. Regards, Rudy Wieser -- Origional message: Jerry Stuckle <jstucklex@attglobal.net> schreef in berichtnieuws o23ptr$n12$1@jstuckle.eternal-september.org... > On 12/5/2016 4:08 AM, R.Wieser wrote: > > Jerry, > > > >> And just because a guy "invented" something doesn't mean he > >> gets to call it what he wants. > > > > Wrong argument, as you seem to be responding to a strawman. > > > > Read what has been posted he said again, and wonder : did he there actually > > deny that Ajax is a technology (and what than _does_ he call it ?), or did > > he just say it was not *one*, technology, but *several ones combined* > > (which, I can imagine, could be called a technology in its own right). > > > > Regards, > > Rudy Wieser > > > > > > No, Arno doesn't even rate "strawman". > > And yes, Arno did deny that Ajax is a technology: "AJAX" is a concept, > not a "technology". > > But then Arno is good at arguing from a position of ignorance, just to > argue. > > -- > ================== > Remove the "x" from my email address > Jerry Stuckle > jstucklex@attglobal.net > ==================
[toc] | [prev] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2016-12-05 19:06 +0100 |
| Message-ID | <51034d7b-266d-948d-7cee-115f456aeb1c@arnowelzel.de> |
| In reply to | #17173 |
Jerry Stuckle wrote: > On 12/5/2016 4:08 AM, R.Wieser wrote: >> Jerry, >> >>> And just because a guy "invented" something doesn't mean he >>> gets to call it what he wants. >> >> Wrong argument, as you seem to be responding to a strawman. >> >> Read what has been posted he said again, and wonder : did he there actually >> deny that Ajax is a technology (and what than _does_ he call it ?), or did >> he just say it was not *one*, technology, but *several ones combined* >> (which, I can imagine, could be called a technology in its own right). >> >> Regards, >> Rudy Wieser >> >> > > No, Arno doesn't even rate "strawman". > > And yes, Arno did deny that Ajax is a technology: "AJAX" is a concept, > not a "technology". > > But then Arno is good at arguing from a position of ignorance, just to > argue. If you want to call Ajax itself a "technology" then do it so. I don't care. -- Arno Welzel https://arnowelzel.de https://de-rec-fahrrad.de http://fahrradzukunft.de
[toc] | [prev] | [next] | [standalone]
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2016-12-01 20:03 +0100 |
| Message-ID | <eabah0Fbcd6U1@mid.individual.net> |
| In reply to | #17160 |
On 12/01/2016 06:50 PM, bit-naughty@hotmail.com wrote: > I've used sites, for example, a bank's where you login with your username and password, > and then it asks you "security questions" - like, your favourite colour, whatever, etc. etc. > How is this sort of thing coded? The security questions appear without a refresh, mind you, > ie. on the same page - so after the name+pwd authentication is done, does *client side > Javascript* set some sort of cookie? The login will be done over ajax call as Cybercode mentioned, if the username/password matches, the server will send the security question as a response in the earlier mentioned ajax call. The client side is untrusted, so the cookie has already been set when you enter the login page (before you enter your username/password), the session data on the server side will be updated if a successful login. > If, after entering your username and password, > the security quesions appear, and you refresh the page - what happens exactly? Much depends on how it's designed, if badly then you will be asked for username/password again, if done properly you will be asked for the security question. A side note, those security questions are a false sense of security, if you want security you go for 2 factor authentication. > The authentication will happen again, and *another* cookie will be set..... > - how does the system protect against that? You don't have to set a new session cookie, you can keep on using the one you had in the first place, but you may change it to make it a bit more difficult to steal the session cookie and use it to access the system. There are a lot to read about this at OWASP, see https://www.owasp.org/index.php/Main_Page -- //Aho
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web