Re: Question about executing an ASPX locally



I need a way to detect if a user is using a local machine that way I can
have a different menu on my main web page.

So i want to create an intranet inside our actual intranet for a subset of
users.
This site is not on the same domain and this is webhosting so i cannot query
to IIS or Active directory to get the windows group.

I thought about installing a cookie on the same machine but this would be
overhead for the administrator.

"Patrice" <http://www.chez.com/scribe/> wrote in message
news:%23YTlBiNVHHA.4380@xxxxxxxxxxxxxxxxxxxxxxx
You'll need also a local web server to get this page executed. As the page
is not part of the other site, it won't have access to the other site
session variable.

IMO your best bet is to explain your overall goal so that someone can
suggest a way to achieve your goal likely using a totally different way...

"Jman" <jmanohman@xxxxxxxxxxx> a écrit dans le message de news:
FlrCh.9741$Fi3.528232@xxxxxxxxxxxxxxxxxxxxxxx
Let's say I have a session variable in my asp.net website.
Now I have an aspx file on my C drive.

Now I have a link pointing to it so I can click on it and execute this
ASPX file to my browser. Only me has this file on my C drive and can
execute it. Other users will obviously get a page not found.

In the load section on the aspx file, I modify a SESSION variable of my
website.

Will this work?

The intent here is to get the website informed that this session is
executed from my computer because I can execute that aspx file from my C
drive.

Please answer me...





.



Relevant Pages

  • Re: Standalone VB.Net app?
    ... with local Admin privileges and elevated domain privs executes the app now, ... a network device that the average network user has read/execute privs on, ... the .Net framework on the local machine is not allowing the code ... to execute because it is not trusted. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Interact with forms programmatically
    ... If i assume that you need to execute that page internally and get the ht ml content, then it is very much possible. ... WebRequest object and populates the html content into Div element. ... the only way is to encapsulate the class that is inherited by the page from another class and calling its methods to do so. ... You can see yahoo's home page in the aspx file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reset Forgotten MSDE Password
    ... If the account you login with is an administrator on the local machine, ... can use the osql command line tool to execute the sp_password stored ...
    (microsoft.public.sqlserver.msde)
  • Re: Interact with forms programmatically
    ... Argh, I expected the Webrequest to be executed within the current context, and it seems to create a new session and execute seperately. ... In the bottom of this reply you can find and excerpt that calls the .aspx page using WebRequest object and populates the html content into Div element. ... You can see yahoo's home page in the aspx file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Using pre-existing applications on domain clients
    ... when i join a client to the domain the user can't execute some apllications ... administrator on the local machine or if i give him "power users" rights on ... Is there a way to execute pre-existing ...
    (microsoft.public.windows.server.general)

Loading