cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Windchill - Login and Logout Easily

Level 1

Windchill - Login and Logout Easily

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://username1Smiley Tongueassword1@windchill-server.ptcnet.ptc.com/Windchill/app/

http://username2Smiley Tongueassword2@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 18

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

colon (Smiley Happy between username and password, not period (.)

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

ya i got it now.

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

It works in mozilla firefox.

Highlighted

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

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

Re: Windchill - Login and Logout Easily

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.