Have you tried using a cookie to store a hash that is associated with a user, 
then when a request is made you can check to see if there is a cookie, then 
find the user by that cookie and do what ever you need to do to create a 
session for the user.
 


-----Original Message-----
From: "Jason Allen" <[email protected]>
Sent: Thursday, 9 January, 2014 20:36
To: [email protected]
Subject: [OpenBD] Dynamically setting session length



Is there a way to set the length of a session on a per session basis?

I want the default session to be 1 hour, but I'd like users to be able to 'stay 
logged in' if they choose too. 

My thought was going to be to simply adjust the session time when they login.
Or is session length a global setting?-- 
 -- 
 online documentation: [http://openbd.org/manual/] http://openbd.org/manual/
[http://groups.google.com/group/openbd?hl=en] 
http://groups.google.com/group/openbd?hl=en
 
 --- 
 You received this message because you are subscribed to the Google Groups 
"Open BlueDragon" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
 For more options, visit [https://groups.google.com/groups/opt_out] 
https://groups.google.com/groups/opt_out.

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to