2 # Set the Usermin session cookie to be some other user
4 require './usermin-lib.pl';
6 $access{'sessions'} || &error($text{'switch_euser'});
8 ($cookie, $url) = &switch_to_usermin_user($in{'user'});
9 print "Set-Cookie: $cookie\n";
11 &webmin_log("switch", undef, $in{'user'});