Re: session object II
From: Berkdan (berkdany_at_yahoo.com)
Date: 03/03/04
- Next message: Paul: "Re: Need help with Virtual Directory"
- Previous message: Nikhil Tayal: "Re: How to specify virtual paths in C#?"
- In reply to: Tommy: "Re: session object II"
- Next in thread: Tommy: "Re: session object II"
- Reply: Tommy: "Re: session object II"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Paul: "Re: Need help with Virtual Directory"
- Previous message: Nikhil Tayal: "Re: How to specify virtual paths in C#?"
- In reply to: Tommy: "Re: session object II"
- Next in thread: Tommy: "Re: session object II"
- Reply: Tommy: "Re: session object II"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|