Hi There,
Thank you for taking the time to look. Much appreciated.
We want a person to be able to stay logged into the system for 12 hours.
I've tried to google what is required for this but haven't had success in finding clarity.
Can you help with these questions?
1. To set login expiration policy = defined time after initial login, do we need to stop using sessions to store user info and start using cookies?
eg. when a user is logged in, we store around 7 session variables to know the user, company and other bits and bobs.
Would this have to be changed to the use of cookies instead of sessions.
Same with the session_check.a5w page, it looks for session variables. Do we need to change that to the use of cookies?
2. We bought the saas framework to help shortcut coding. Part of that came with a session_check.a5w page that does this:
<%A5
'Get the SaaS Options
Dim sfOpts as c = ""
dim sfArr as p
sfOpts = session.saasOptions
sfArr = json_parse(sfOpts)
dim regError as c = sfArr._registerError_LP
dim regSuccess as c = sfArr._registerSuccess_LP
if session.expired = "Yes" then
response.redirect(sfArr._freeTrialEnded_LP)
else if session.expired = "Issue" then
response.redirect(sfArr._issue_LP)
end if
%>
....is this page redundant because I thought the alpha framework automatically detected if a persons login session was current?!?!
Thank you
Jane
Thank you for taking the time to look. Much appreciated.
We want a person to be able to stay logged into the system for 12 hours.
I've tried to google what is required for this but haven't had success in finding clarity.
Can you help with these questions?
1. To set login expiration policy = defined time after initial login, do we need to stop using sessions to store user info and start using cookies?
eg. when a user is logged in, we store around 7 session variables to know the user, company and other bits and bobs.
Would this have to be changed to the use of cookies instead of sessions.
Same with the session_check.a5w page, it looks for session variables. Do we need to change that to the use of cookies?
2. We bought the saas framework to help shortcut coding. Part of that came with a session_check.a5w page that does this:
<%A5
'Get the SaaS Options
Dim sfOpts as c = ""
dim sfArr as p
sfOpts = session.saasOptions
sfArr = json_parse(sfOpts)
dim regError as c = sfArr._registerError_LP
dim regSuccess as c = sfArr._registerSuccess_LP
if session.expired = "Yes" then
response.redirect(sfArr._freeTrialEnded_LP)
else if session.expired = "Issue" then
response.redirect(sfArr._issue_LP)
end if
%>
....is this page redundant because I thought the alpha framework automatically detected if a persons login session was current?!?!
Thank you
Jane
Comment