18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Cookies being lost on redirect with V2
Our application uses following mechanism for authentication:
1. Present login screen to user
2. User submits page with username and password.
3. Validate credentials on server, if valid then set an authentication cookie in response and redirect user to home page.
This use to work fine in earlier versions of sahi. I am trying to port scripts in V2 but it appears that cookies are being lost on redirect response.
Is anyone else facing similar issue?
thanks
1. Present login screen to user
2. User submits page with username and password.
3. Validate credentials on server, if valid then set an authentication cookie in response and redirect user to home page.
This use to work fine in earlier versions of sahi. I am trying to port scripts in V2 but it appears that cookies are being lost on redirect response.
Is anyone else facing similar issue?
thanks
This discussion has been closed.
Comments
Can you use the latest unstable build (2009-02-27) and check if you still face that problem? https://sourceforge.net/project/showfiles.php?group_id=151639&package_id=309861&release_id=664444
Regards,
Narayan
I also faced the same issue while trying to port one of my scripts to sahiV2.
Used the unstable build (2009-02-27) but the issue persists. Please suggest as we are looking forward to port our existing scripts to V2.
Regards,
Pankaj.
Instead of running the script I also tried to do the steps manually with proxy enabled but still I wasnt able to login.
I also tried to replicate the same on gmail login page but couldnt succeed as it is an https one and throws certificate error. I am using Firefox 3.0.
Will revert in case I get any page where you can check the issue. In the meanwhile please see if the provided information can assist in understanding the issue.
Regards,
Pankaj.
I tried the latest release but face the same problem.
regards,
pankaj.
rks, Pankaj,
Here's the build which should work for you both.
https://sourceforge.net/project/showfiles.php?group_id=151639&package_id=309861&release_id=667852
If you confirm that this works for you, a stable release will follow in the next week.
Regards,
Narayan
Thanks and Regards,
Pankaj.