Skip to main content
1-Visitor
March 25, 2013
Question

Windchill - Login and Logout Easily

  • March 25, 2013
  • 18 replies
  • 47214 views

This is a neat trick I use when developing.

In Windchill it is difficult to 'logout' and then login as another user. To get around this create two browser bookmarks with url format as:

http://username1:password1@windchill-server.ptcnet.ptc.com/Windchill/app/

http://username2:password2@windchill-server.ptcnet.ptc.com/Windchill/app/

This adds the username and password into the http request, so the user is not prompted. This has the added benefit that you can jump user easily in Windchill if you store the url as a bookmark.

This is really useful for demos!

This is an example of one of my bookmarks:

bookmark.png

18 replies

1-Visitor
April 8, 2013

Hi Stephen Lawson ,

I cant set this.

it says windows cant find "http://demo.demo@pc158218.ptc.com/Windchill/app/"

am i doing something wrong in the url ?

thank you

vijayan

1-Visitor
April 8, 2013

colon (:) between username and password, not period (.)

1-Visitor
April 8, 2013

http://demo:demo@pc158218.ptc.com/Windchill/app/

tried this one too.. same error

stephen has mentioned like windchill-server- what is it?

please Matthew Knight, can u provide solution to

http://communities.ptc.com/message/201245#201245

Thank you

vijayan

1-Visitor
April 19, 2013

I think you need to change the address after the @ symbol to the address of your server.

1-Visitor
April 19, 2013

ya i got it now.

i was trying this in Internet expolrer. but it does not work in IE.

It works in mozilla firefox.

8-Gravel
May 15, 2013

Nice trick. But why dont you use New Session to login in to different user in IE? or Multiple profiles in Chrome?

1-Visitor
May 21, 2013

I also found this works in Chrome but not in IE. Works nice, thanks.

Marco Tosin
21-Topaz I
21-Topaz I
June 12, 2015

In the old PTC/User forum there was another idea, to create a button logout.

In this way, when you click on this button, the system it prompts again for username and password.

javascript:window.location.href=window.location.href.replace(/:\/\//,"://dummy@");window.location.reload();

Logout.PNG

Marco
12-Amethyst
June 12, 2015

Nice trick but just so readers know this is unsecure as it saves your credentials in text where anyone with access to your system could find it.

1-Visitor
June 12, 2015

Windchill 10.1 and 10.2 has form based authentication support. This will provide a default button for log out. You can also go one step further and do a SSO configuration

Thanks

Binesh