Connecting Tech Pros Worldwide Forums | Help | Site Map

About sessions in modperl

Member
 
Join Date: Sep 2007
Posts: 121
#1: Oct 18 '08
Hello friends,
How to delete session id from browser memory in Modperl?

Member
 
Join Date: May 2008
Posts: 51
#2: Oct 22 '08

re: About sessions in modperl


hi,
Use Apache::SessionManager module.

The syntax is as under:

Expand|Select|Wrap|Line Numbers
  1.       sub handler 
  2.      {
  3.       my $r = shift;
  4.       ...
  5.  
  6.        Apache::SessionManager::destroy_session($r);
  7.  
  8.       ...
  9.     }
  10.  
Regards,
Pavan kumar Ponnapalli
Icecrack's Avatar
Expert
 
Join Date: Sep 2008
Location: Sydney, Australia
Posts: 173
#3: Oct 22 '08

re: About sessions in modperl


Quote:

Originally Posted by pavanponnapalli

hi,
Use Apache::SessionManager module.

The syntax is as under:

Expand|Select|Wrap|Line Numbers
  1.       sub handler 
  2.      {
  3.       my $r = shift;
  4.       ...
  5.  
  6.        Apache::SessionManager::destroy_session($r);
  7.  
  8.       ...
  9.     }
  10.  
Regards,
Pavan kumar Ponnapalli

Pavan If you are going to help people fix your code tags or use the Default Button


Thanks
Charlie
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,571
#4: Oct 22 '08

re: About sessions in modperl


I agree Pavan. The code tags closing tag has a / and not a %. You need to look at the example provided in the Reply Guidelines box next to your reply Message window. It shows you exactly how it should be.

Regards,

Jeff
Reply