can I force complete logout when cpsession is missing/incorrect in WHM ?

aww

Well-Known Member
Feb 10, 2005
152
0
166
cPanel Access Level
Root Administrator
Right now the way WHM works when sessions are enabled/forced, is if you pass it a direct url to a subfunction, it will show you the username (from your cookie) and ask for password.

I'd like force a complete clearing or ignoring of a cookie when no session is specified and force a complete login (ie. the same as if you hit the "logout" option on that page)

Anyway to do this now or should that go on the wishlist?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: can I force complete logout when cpsession is missing/incorrect in WHM

Could I move this to the developer's section of the forum? I don't personally know if what you are asking is viable, and it's more of a developer question that someone who knows the backend could answer.
 

aww

Well-Known Member
Feb 10, 2005
152
0
166
cPanel Access Level
Root Administrator
Re: can I force complete logout when cpsession is missing/incorrect in WHM

Sure, sorry I didn't know where to put it.

I guess I should clarify what I am actually trying to do is direct link to whm items while cpsessions are active but force a full login instead of using the cookie which seems to always send me back to the main WHM page. It's a bit annoying.