Click here to Skip to main content
14,265,748 members

Web Development

 
GeneralRe: learning CSS Pin
_Q12_21-Nov-18 3:45
member_Q12_21-Nov-18 3:45 
AnswerRe: learning CSS Pin
W Balboos11-Dec-18 8:30
mveW Balboos11-Dec-18 8:30 
GeneralRe: learning CSS Pin
_Q12_11-Dec-18 14:45
member_Q12_11-Dec-18 14:45 
GeneralRe: learning CSS Pin
W Balboos12-Dec-18 0:53
mveW Balboos12-Dec-18 0:53 
QuestionDomain Masking (SOLVED) Pin
samflex16-Nov-18 4:00
membersamflex16-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
membersamflex16-Nov-18 7:29 
QuestionUnderstanding (or not) Sessions and session_regenerate_id Pin
MikeD 29-Nov-18 7:16
memberMikeD 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
memberBalasubramanianK7-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
membersamflex5-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
mveEddy Vluggen26-Oct-18 7:08 
QuestionBootStrap treeview using Json sharepoint custom webpart Pin
qasimidl17-Oct-18 4:36
memberqasimidl17-Oct-18 4:36 
QuestionSet Apache Tomcat 9 to ipv4 on Windows Pin
Valentinor15-Oct-18 21:23
memberValentinor15-Oct-18 21:23 
AnswerRe: Set Apache Tomcat 9 to ipv4 on Windows Pin
Kornfeld Eliyahu Peter16-Oct-18 8:14
mveKornfeld Eliyahu Peter16-Oct-18 8:14 
Questionerror: (405) Method Not Allowed. Pin
Member 1401549310-Oct-18 20:02
memberMember 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
protectorRichard 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
memberMycroft 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.