Click here to Skip to main content
11,581,186 members (60,224 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: session
Hi


Does someone know if if i run PSEXEC (or WMI) N times in the same program -
does it open N new sessions?
or does it uses the same session over and over again?
Posted 28-Apr-10 6:25am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

That depends on what you mean by "session".
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Where do you find that 'session_id'? There is one (standard) environment variable which is SESSION_NAME. Is it that one you mean?
If yes that will always be the same one. (well, on client operating systems anyway; on servers there are multiple sessions). Session may also run on the service contaxt (session 0, which used to be the console session before Vista, or in background session.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 260
1 Frankie-C 145
2 Sergey Alexandrovich Kryukov 135
3 virusstorm 85
4 RyanDev 84
0 OriginalGriff 1,183
1 Sergey Alexandrovich Kryukov 825
2 Abhinav S 597
3 F-ES Sitecore 500
4 Suvendu Shekhar Giri 433


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 3 May 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100