I start off without my application running:
[r...@www cgi-bin]# ps auxww | grep WebSchedule
[r...@www cgi-bin]#
I login through a simple form which executes cgi-bin/WebSchedule, and
I see WebSchedule running:
apache 26625 0.0 0.1 195276 6584 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt
apache 26629 0.2 0.2 273156 9152 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt client KDrJXlcz7I440AwK
I log out of my application by selecting a menu item "Logout".
menu->itemSelected is connected to
void ScheduleApplication::Check_Logout(void){
Reset_Timeout();
if (menu_->currentItem()->text()=="Log Out")
Redirect_and_Quit();
}
void ScheduleApplication::Redirect_and_Quit(void){
redirect("https://www.mysuperwebsite.org/Login2.php");
quit();
}
When I select "Log Out", the following processes are running:
apache 26625 0.0 0.1 195276 6584 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt
apache 26629 0.0 0.2 273156 9200 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt client KDrJXlcz7I440AwK
After a few moments, the process list is this:
apache 26625 0.0 0.1 195276 6588 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt
What's is really peculiar, when I hit the "back" button on my firefox
browser, I am prompted to resend my information, and then I am back in
my wt application. The process list at this point is this:
apache 26625 0.0 0.1 195276 6588 ? Sl 15:36 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt
apache 26665 0.0 0.2 273156 9156 ? Sl 15:40 0:00
/var/www-192.168.1.1/cgi-bin/WebSchedule.wt client EtVD8g8c1EH39iTf
So, quit() does terminate the session, but a different process is able
to resume the session? Is this expected behavior? What should I do to
ensure that the session cannot be resumed through the browser's back
button?
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest