On Sep 23, 2005, at 8:23 AM, Aparajita Fishman wrote:


but if someone's session has timed out and they try to access a controlled page I'd do something like

    session{"errMsg"} := "You've be logged out......"
    redirect("/myhome")

Personally I wouldn't store an error message in the session, since it just timed out. They may be trying to directly enter a bookmarked private page without logging in. No point in creating the session until it's necessary.

I do controlled access by IP. Known IPs get to see basic info without login. Unknown IP's must log in to get anything. If you can tell me how to get the IP without creating a session, I'll change my ways. This is an internal site with less than 100 users.


Both in Safari and FireFox I now get, what I assume is a Active4D fusebox error.

Your browser could not fulfill a redirect request. Please click here to go the intended destination.

This means the redirect headers are messed up. What is your exact configuration? Are you sure your shell has been correctly updated?

4D 2003, Mac OS X 10.3.9., 4D as web shell, Active4D running on our 4D Development server.

Followed instructions on install for update from 3.0. Including something I read somewhere to delete all Active4D methods, forms etc. When I copied over the groups from the shell, only had a difference in 1 object in one of the groups that was not replaced.

Did my minor changes to the shell (added compile_web variables, replaced my preconnection hook, modified a4d_init to run on server if development, else client if not. Minor change in A4D_send_mail to encode certain attachments as text. I did make the mistake of bringing up the wrong version of the structure (3.0 version) with the 4.0 plugin and tried to access it - that of course didn't work. Didn't change anything in the 4D webserver preference, nothing should of changed. I'll go double check everything.


Steve Alex

_______________________________________________
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