Ask a Question related to ASP.NET General, Design and Development.
-
bruce barker #1
Re: Application needs to work in single and multiple webserver environment
inproc sessions won't work on a webfarm.
if you use sqlserver mode, you can schedule (thru sqlagent) a stored proc to
run that deletes old sessions.
"sudha" <sudha_s@mailcity.com> wrote in message
news:030d01c344b8$46177700$a301280a@phx.gbl...> Hi,
> I have my search application which displays results based
> on query given by user. I provided pagination for this
> application so that user can navigate through the search
> results. The first time user queries the application, it
> creates an xml file on the webserver and uses this xml
> file to display records whenever user clicks next or prev
> buttons instead of getting the records from the database.
> When the user session times out this xml file gets deleted
> using Session_End event in global.ascx file as I am using
> Session state mode="InProc". The whole application works
> fine if we use single webserver. But, the problem arises
> if the same application needs to run in clustered web
> farm as the user may not be redirected to same server
> where the xml file gets created as he navigates through
> the search results. I also need to use Session state
> mode="SQL Server" to store the session state in clustered
> web farm environment. The session_end event only works
> in "InProc" mode. How do I delete the xml file that gets
> created on the server in multiple webserver environment?
> Any suggestions?
>
> Thanks in advance
bruce barker Guest
-
Flex 2.0 Environment - will it work
My environment includes an Oracle db server, a Microsoft IIS server (ASP) and a Sun One server (JSP). Adding a cf or flex server is not an option.... -
Multiplayer development: Multiple instances of the Flashdevelopment environment (DE)
:music; This one is actually for the developers of Flash: is it possible to run multiple instances of Flash? This will help so much in developing... -
HELP! Logon dll won't work in ASP on the webserver.
Hi, all I wrote a dll with delphi using Windows API Logonuser and NetUserChangePassword which is called to impersonate a user from ASP. It's... -
How to implement Multiple Login Pages in a single Web Application
Hello I have a web application in which i m ineed of implementing multiple login pages with the help of forms based Authentication. on the user... -
Is there a way to assign multiple variables a single value on a single line?
i tried $f1, $f2, $f3 = '1'; and list($f1, $f2, $f3) = 1; neither work... second obviously cuz its looking for an array on the right side,... -
sudha #2
Re: Application needs to work in single and multiple webserver environment
Thanks bruce. But, Is creating a temporary xml file based
on user session on the webserver in clustered web farm is
a problem?sqlagent) a stored proc to>-----Original Message-----
>inproc sessions won't work on a webfarm.
>
>if you use sqlserver mode, you can schedule (thrubased>run that deletes old sessions.
>
>
>
>"sudha" <sudha_s@mailcity.com> wrote in message
>news:030d01c344b8$46177700$a301280a@phx.gbl...>> Hi,
>> I have my search application which displays resultsprev>> on query given by user. I provided pagination for this
>> application so that user can navigate through the search
>> results. The first time user queries the application, it
>> creates an xml file on the webserver and uses this xml
>> file to display records whenever user clicks next ordatabase.>> buttons instead of getting the records from thedeleted>> When the user session times out this xml file getsusing>> using Session_End event in global.ascx file as I amclustered>> Session state mode="InProc". The whole application works
>> fine if we use single webserver. But, the problem arises
>> if the same application needs to run in clustered web
>> farm as the user may not be redirected to same server
>> where the xml file gets created as he navigates through
>> the search results. I also need to use Session state
>> mode="SQL Server" to store the session state in>>> web farm environment. The session_end event only works
>> in "InProc" mode. How do I delete the xml file that gets
>> created on the server in multiple webserver environment?
>> Any suggestions?
>>
>> Thanks in advance
>
>.
>sudha Guest
-
Natty Gur #3
Re: Application needs to work in single and multiple webserver environment
Hi,
the xml file wont be accessible from all servers in the webfarm but if
you will save the xml file for the first time on ant server on the farm
it will be available for other request on the same machine.
if you just want to save one copy of the temporary file you could do
what other told you and keep it on state machine or SQL server.
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

