Home/Support/Support Forum/HTTP server timeout problem
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

HTTP server timeout problem

0 votes
Hi,

I'm working on an application over NetOS 6.3.
I set HTTP server session_timeout time, it works.

But if I sets up an external user by
void SpwdSetExternalUser(rpAccess accessCode, spwdPasswordFunction externalHandler);

then HTTP server will not time out.

What is this problem? and how to solve it?

Thanks
asked Feb 27, 2014 in NET+OS by jiaxins New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

0 votes
Hello

From what I can see, if you choose to handle security externally, security includes timeouts. So you'd have to add a system to your externally handled security component to manage session timeouts.
answered Feb 27, 2014 by dakotas_dad Veteran of the Digi Community (694 points)
Thanks your answer, but I still have no idea how to do it.

Could you give me more detail, or some example code?

Thanks
Unfortunately there is none. The overriding presumption with SpwdSetExternalUser is that you the developer own the entire login/logout process. This includes session timeouts.

So in a nutshell when a users login attempt hits your external handler function, you need a way to track the user and how long that user is logged in. Because handling is done externally, the web server does not have access to authentication details.
thanks a lot
...