CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 custom session timeout

Print topic Send  topic

Author Message
boolean

Posts: 62
Posted: 05/10/2012, 1:03 PM

Hello,
My website has the login feature applying for many pages, but I want to have some pages having access restricted to shorter time session. I create a custom session called SessionShort10 in which I want to destroy it in 10 minutes instead of 24 minutes so that I will redirect the users to a default page, WITHOUT destroying session UserID, UserLogin, and GroupID.

Would someone please point out how to do that? Thanks a bunch.
View profile  Send private message
clahti2

Posts: 107
Posted: 05/24/2012, 10:59 AM

hmmm, perhaps ajax could be the right approach? Setup an ajax timer (see my post in the tips section on how to do this) and after the specified timer interval you can redirect the browser, this will avoid doing anything at the session level. This will only handle the case where the user is idle for 10m, which I believe is what you want?
View profile  Send private message
bannedone


Posts: 273
Posted: 09/08/2012, 9:49 PM

Try This modifying the re-direct page not to logout

http://realsites.biz/codecharge_studio_forum.php?forum_...um_topic_id=173

This might point you in a direction to consider for your requirements with some modification.

8-)
_________________
John Real
CodeCharge Studio Support, Training, Consulting, Development, Web based solutions
http://realsites.biz
http://ccselite.com
Other Banned IDs on this Forum. jjrjr1, jjrjr2
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.