Hi

Is there any way to test if a session is active without actually kicking one off ?

If I use 'get session' to test a session variable it will kick off a session.

Does the test have to be . . .

$STATE:=get session("state") <-- a variable set when the session starts

if($STATE#"active")
   abandon session
end if

If so, is there any significant overhead to this ? (e.g. if the test runs on every single page served).

Background -

The conditional test will be used to determine if the 'cart contents' should be displayed on the current page.

Thanks

Peter

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to