Re: session object II

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Berkdan (berkdany_at_yahoo.com)
Date: 03/03/04


Date: Wed, 3 Mar 2004 20:07:54 +0200

Thank you for answer,

i wanna write chat application server using asp.
Clients will use exe file. i wrote server.exe but most of web hosts don't
accept execute exe file.
coz i wanna use asp. how can i do it?

Thank you,
Berkdan

"Tommy" <Websoftwares@Hotmail.com> wrote in message
news:a85edaaf.0403030522.7034d504@posting.google.com...
> You cannot use the session object to accurately determine if a user is
> connected to your site or not.
>
> A session object is create when a user navigate to your site the first
> time on a new browser instance. The session object that exist on the
> server until the user has been inactive for a specified period of
> time. This is a setting on the web server, and is not affected when a
> user disconnect from your site.
>
> One approach is to have the user logon and logoff to your website.
> This doesn't work all the time because the user could close the
> browser without logging off. For that, you could put logic in your
> page to call the logoff page in a sub window before the page is
> unloaded.
>
> It is difficult to accurately keep track of how many users are
> connected to your site because a web server is designed to serve large
> amounts of request, so it does not keep a static connection with each
> user.
>
> Tommy,
>
> "Berkdan" <berkdany@yahoo.com> wrote in message
news:<#QW#6aJAEHA.1452@TK2MSFTNGP09.phx.gbl>...
> > hi all,
> >
> > i want to learn this about session object in asp,
> > when i connect to the site can session object write my ip adress to the
text
> > file and when i cut the connection then can it write offline to the same
> > text file? it must write when my dial up connection was cutted.
> >
> > can i use session or is there anyway? if it is possible please write any
> > code.
> >
> > thank you very much.



Relevant Pages

  • Re: Opening .exes from web server failing without error
    ... execute it or download it? ... else happens and there is no error at all on the server ... I could do the samme with the exe file by ...
    (microsoft.public.inetserver.iis.security)
  • Re: Running an exe file from ASP
    ... Windows can not predict when a user calls. ... If callers and priorities where predictable, memory and execution could be ... The maths for a server to go to its knees is and was ... > I used WSH script to run an exe file from my ASP page. ...
    (microsoft.public.scripting.wsh)
  • Re: Session_OnEnd doesnt get called when shutting down a browser
    ... yeah - i was thinking about just that - a server side probe. ... setting a shorter timeout on the session object won't help - the application ... >> client side scripting. ...
    (microsoft.public.inetserver.asp.general)
  • June CTP Analysis Services project Deployment issue
    ... I'm having trouble with the following with June CTP of SQL Server 2005: ... deploying even a simple Analysis services project). ... creating a session object, the session object must be dropped before ...
    (microsoft.public.sqlserver.datamining)
  • Re: Share objects between processes - how?
    ... I have a client app made ... This server forks a process per product type. ... can run different perl scripts for each PT. ... Is the session object actually *shared* between processes? ...
    (comp.lang.perl.misc)