Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I need to login with multiple users to reproduce issue;how do i do it without closing Creo every single time?
You can't.
Logging in and out of Windchill has been a request since at least Windchill 5 and maybe even Windchill 1!
If you're using basic authentication, then there is no way to log out. This is a limitation of HTTP Basic Authentication.
However, as of 10.1, Windchill also supports form based authentication. If you configure Windchill for form based authentication, then you have the ability to log out of Windchill. See CS34749 for more information.
This is possible, but CREO cache could be corrupted without local distinct cache folders per user id. The issue resorts from the user ID being hard coded in several spot in local cache.
I also know the browser used underneath can add additional querks to this. For example to have more then one active session for Internet Explorer, you have to be able to use File->New Session vs. New Tab or New Window. This behavior is tied to running standalone IE browsers, but also if running standalone concurrently, Windows' systems will bind session concurrently unless New Session used.
You could configure multiple sessions of Creo, each with their own cache. This should allow you to run multiple sessions as different users simultaneously.
Hi Tom,
Can you elaborate this please.?
You need to set the environment variable PTC_WF_ROOT equal to the cache location for each unique user. There are a bunch of different way to do this but probably the easiest is to either duplicate the PSF file or duplicate the batch file and then set a unique value in each. For example:
Double PSF Files
parametric.psf
// USER - PSF
// Add User specific environment or run applications below here
ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1
parametric2.psf
// USER - PSF
// Add User specific environment or run applications below here
ENV=PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2
Double Batch Files
parametric.bat
@echo off
SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache1
"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*
parametric2.bat
@echo off
SET PTC_WF_ROOT=C:\ptc\%USERNAME%\Cache2
"C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.exe" "C:\Program Files\PTC\Creo 3.0\M100\Parametric\bin\parametric.psf" %*