How to delete session via API?

132 views
Skip to first unread message

James

unread,
Mar 15, 2017, 12:52:58 PM3/15/17
to OWASP ZAP User Group
I use ZAP as a daemon, a long run service, the session files  are bigger every day. I want to know that how to delete session through API.

The ZAP 2.5 support mysql db?May I use mysql instead of hsqldb?

I use ZAP for pallel scan, does ZAP support multi sessions?

kingthorin+owaspzap

unread,
Mar 15, 2017, 12:59:25 PM3/15/17
to OWASP ZAP User Group
To delete a saved session from disk is a OS function outside of ZAP. From ZAP's perspective just start a new session.

Yes you can use ZAP with mysql but it's still experimental:
http://mmiedaner.github.io/setting-up-zap-with-mysql/

You'll have to be more specific about the last one.
No you can't have ZAP open more than one session file at a time, but you could run multiple versions of ZAP (listening on different ports and with different configs).
Reply all
Reply to author
Forward
0 new messages