Click here to Skip to main content
15,888,461 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: learning CSS Pin
_Q12_21-Nov-18 3:45
_Q12_21-Nov-18 3:45 
AnswerRe: learning CSS Pin
W Balboos, GHB11-Dec-18 8:30
W Balboos, GHB11-Dec-18 8:30 
GeneralRe: learning CSS Pin
_Q12_11-Dec-18 14:45
_Q12_11-Dec-18 14:45 
GeneralRe: learning CSS Pin
W Balboos, GHB12-Dec-18 0:53
W Balboos, GHB12-Dec-18 0:53 
QuestionDomain Masking (SOLVED) Pin
samflex16-Nov-18 4:00
samflex16-Nov-18 4:00 
AnswerRe: Domain Masking Pin
Richard Deeming16-Nov-18 6:43
mveRichard Deeming16-Nov-18 6:43 
GeneralRe: Domain Masking Pin
samflex16-Nov-18 7:29
samflex16-Nov-18 7:29 
QuestionUnderstanding (or not) Sessions and session_regenerate_id Pin
MikeD 29-Nov-18 7:16
MikeD 29-Nov-18 7:16 
new to php and trying to understand the use of and management of sessions

assumptions are: The entire site would be https and users would have to login to do anything and clicking on a saved link would realise the user wasn't logged in and auto redirect to the login page

session seems to be the appropriate? way to control whether logged in or not by doing session_start() at the beginning of each page and then looking at the variables that are set by the login page

my searching and reading suggests that sessions can be copied/hijacked and used to access pages as a user and certainly closing the page and then re-opening doesn't crash the session although closing the browser does

question 1. providing my logout function clears the session using array() and then destroys it, is there any other reason/time for me to use session_regenerate_id() ?

question 2. if hijacking/copying is possible how does a regular (timed?) obliterate, destroy, regenerate help this in any way? because it seems to me that my target page wouldn't be able to tell the difference between a copy and a valid new session

question 3. is there anything else I need to do for good practice

QuestionSystem.net.http.httprequestexception Error while copying content to a stream' on 401 API Response Pin
BalasubramanianK7-Nov-18 23:30
BalasubramanianK7-Nov-18 23:30 
AnswerRe: System.net.http.httprequestexception Error while copying content to a stream' on 401 API Response Pin
Nathan Minier14-Nov-18 3:25
professionalNathan Minier14-Nov-18 3:25 
QuestionOraOLEDB error '80040e4b' Pin
samflex5-Nov-18 10:31
samflex5-Nov-18 10:31 
QuestionWhy so many style sheets use a instead of button? Pin
maze326-Oct-18 6:27
professionalmaze326-Oct-18 6:27 
AnswerRe: Why so many style sheets use a instead of button? Pin
Eddy Vluggen26-Oct-18 7:08
professionalEddy Vluggen26-Oct-18 7:08 
QuestionBootStrap treeview using Json sharepoint custom webpart Pin
qasimidl17-Oct-18 4:36
qasimidl17-Oct-18 4:36 
QuestionSet Apache Tomcat 9 to ipv4 on Windows Pin
Valentinor15-Oct-18 21:23
Valentinor15-Oct-18 21:23 
AnswerRe: Set Apache Tomcat 9 to ipv4 on Windows Pin
Kornfeld Eliyahu Peter16-Oct-18 8:14
professionalKornfeld Eliyahu Peter16-Oct-18 8:14 
Questionerror: (405) Method Not Allowed. Pin
Member 1401549310-Oct-18 20:02
Member 1401549310-Oct-18 20:02 
AnswerRe: error: (405) Method Not Allowed. Pin
Richard Deeming11-Oct-18 1:29
mveRichard Deeming11-Oct-18 1:29 
Questionaspx file don't open in chrome Pin
anasr200010-Oct-18 2:27
professionalanasr200010-Oct-18 2:27 
AnswerRe: aspx file don't open in chrome Pin
Richard MacCutchan10-Oct-18 5:24
mveRichard MacCutchan10-Oct-18 5:24 
QuestionBetter design for pagination Pin
jkirkerx1-Oct-18 12:17
professionaljkirkerx1-Oct-18 12:17 
AnswerRe: Better design for pagination Pin
Mycroft Holmes1-Oct-18 13:32
professionalMycroft Holmes1-Oct-18 13:32 
GeneralRe: Better design for pagination Pin
jkirkerx1-Oct-18 13:44
professionaljkirkerx1-Oct-18 13:44 
AnswerRe: Better design for pagination Pin
Richard Deeming2-Oct-18 1:30
mveRichard Deeming2-Oct-18 1:30 
GeneralRe: Better design for pagination Pin
jkirkerx2-Oct-18 6:52
professionaljkirkerx2-Oct-18 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.