Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 4:50 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
PostPosted: Mon Jun 22, 2009 12:28 pm 
Offline
Contributor

Joined: Fri Jul 04, 2008 6:46 am
Posts: 153
Location: USA - WI
I like that my session eventually is killed if I sit idle too long, but I really hate having to navigate back to where I was after logging into OpenAudIT again. It would be nice if the the login detected that you were forcefully logged out and redirect you to where you were before. I made a few modifications to include_ldap_login.php and ldap_login.php to make this work. I tested all the possibilities I could think of and it seems to work as expected.

Attached are patches for the two files, or the the fully modified files for anyone interested.

Edit: Well, that was kind of a big oversight on my part with GET variables...lol. Anyway, fixed my oversight. Though it seems a bit hackish now. Oh well, it works and I cannot seem to break it.


Attachments:
oa-redirect-patch.zip [5.12 KiB]
Downloaded 374 times

_________________
OA Server: Debian Squeeze w/ Apache2
Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers
OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian
LDAP: Active Directory 2008 R2
Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2009 6:42 am 
Offline
Contributor

Joined: Fri Jul 04, 2008 6:46 am
Posts: 153
Location: USA - WI
Ok, in preparation for adding the web-scheduling bits to svn this is one piece that would be nice to add ahead of time. I created a new version of this URL redirection feature that seems like the correct way to implement this. Any feedback?


Attachments:
PATCH-url_redirect.txt [3.79 KiB]
Downloaded 384 times

_________________
OA Server: Debian Squeeze w/ Apache2
Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers
OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian
LDAP: Active Directory 2008 R2
Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2009 9:39 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
FYI - I have already got this in OAv2.
If you try to go to a link without being logged in, it redirects you to the login page. Once you login, you are directed to the original page.
I don't think it's a big deal, just one of those "ohh, nice" things....

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 03, 2009 10:32 am 
Offline
Contributor

Joined: Fri Jul 04, 2008 6:46 am
Posts: 153
Location: USA - WI
[quote="Mark"]FYI - I have already got this in OAv2.
If you try to go to a link without being logged in, it redirects you to the login page. Once you login, you are directed to the original page.
I don't think it's a big deal, just one of those "ohh, nice" things....


Nice to hear 8) Looking forward to getting my hands on OAv2...

_________________
OA Server: Debian Squeeze w/ Apache2
Auditing: 700 Workstations, 250 or so Retail Terminals, about 75 Servers
OS's: Windows XP/2003/2008/2008 R2/Vista/7, Debian
LDAP: Active Directory 2008 R2


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group