473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

How to pass value of one page to another page

Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but doesn't
work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to let 2nd
page catch it? I don't want to use querystring to pass this value!

Thanks in advance!
Keith
Jun 9 '06 #1
17 7048
Here's another nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("handle_error.aspx ")

Then, in handle_error.aspx.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to another
besides the querystring there are cookies, session, context, saving to a
temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.

Here are more good articles on the subject:
http://SteveOrr.net/faq/PassValues.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but doesn't
work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to let
2nd page catch it? I don't want to use querystring to pass this value!

Thanks in advance!
Keith

Jun 9 '06 #2
In addition to all of the methods that Steve enumerated, in 2.0 there is a
new feature called cross-page posting where your form and the values of it
get posted to a subsequent page. HTH

Jose
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but doesn't
work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to let
2nd page catch it? I don't want to use querystring to pass this value!

Thanks in advance!
Keith

Jun 9 '06 #3
Thanks Steve

Its working, but I have another problem, if the user clicks my SiteMapNode
to jump to another page, since the menu item is hyperlink, so i can't use
your suggested method to pass data to another page

If I can't use Cookies, session, and i don't want too much work by using
database. Any other method you can tell me for pass data to another page by
clicking hyperlink on the source page?

Thanks in advance

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
Here's another nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("handle_error.aspx ")

Then, in handle_error.aspx.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another
besides the querystring there are cookies, session, context, saving to a
temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.

Here are more good articles on the subject:
http://SteveOrr.net/faq/PassValues.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but doesn't
work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to let
2nd page catch it? I don't want to use querystring to pass this value!

Thanks in advance!
Keith


Jun 9 '06 #4
I gave a long list of other potential techniques you could use.
How about you investigate using Session state. It should be one of the
simpler solutions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:e8****************@TK2MSFTNGP05.phx.gbl...
Thanks Steve

Its working, but I have another problem, if the user clicks my SiteMapNode
to jump to another page, since the menu item is hyperlink, so i can't use
your suggested method to pass data to another page

If I can't use Cookies, session, and i don't want too much work by using
database. Any other method you can tell me for pass data to another page
by clicking hyperlink on the source page?

Thanks in advance

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
Here's another nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("handle_error.aspx ")

Then, in handle_error.aspx.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another
besides the querystring there are cookies, session, context, saving to a
temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.

Here are more good articles on the subject:
http://SteveOrr.net/faq/PassValues.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but doesn't
work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to let
2nd page catch it? I don't want to use querystring to pass this value!

Thanks in advance!
Keith



Jun 9 '06 #5
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it recycle
the process, all session state will be clear, so connected user will lost
those information.

thats why I want to pass variable data between form without using Session
state method!

Any alternative?
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
I gave a long list of other potential techniques you could use.
How about you investigate using Session state. It should be one of the
simpler solutions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:e8****************@TK2MSFTNGP05.phx.gbl...
Thanks Steve

Its working, but I have another problem, if the user clicks my
SiteMapNode to jump to another page, since the menu item is hyperlink, so
i can't use your suggested method to pass data to another page

If I can't use Cookies, session, and i don't want too much work by using
database. Any other method you can tell me for pass data to another page
by clicking hyperlink on the source page?

Thanks in advance

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
Here's another nice, simple way to pass values from one page to another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("handle_error.aspx ")

Then, in handle_error.aspx.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another
besides the querystring there are cookies, session, context, saving to a
temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.

Here are more good articles on the subject:
http://SteveOrr.net/faq/PassValues.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hi,

On my 1st page, i have a function which gets a new ID value and need to
transfer to another immediately.

which I want to get in 2nd page using Request.form("txtID"), but
doesn't work, the returned value is ""

Anybody know how to set this value on 1st page properly, in order to
let 2nd page catch it? I don't want to use querystring to pass this
value!

Thanks in advance!
Keith



Jun 9 '06 #6
OK then try cookies, or a database, etc.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.

thats why I want to pass variable data between form without using Session
state method!

Any alternative?
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
I gave a long list of other potential techniques you could use.
How about you investigate using Session state. It should be one of the
simpler solutions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:e8****************@TK2MSFTNGP05.phx.gbl...
Thanks Steve

Its working, but I have another problem, if the user clicks my
SiteMapNode to jump to another page, since the menu item is hyperlink,
so i can't use your suggested method to pass data to another page

If I can't use Cookies, session, and i don't want too much work by using
database. Any other method you can tell me for pass data to another page
by clicking hyperlink on the source page?

Thanks in advance

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
Here's another nice, simple way to pass values from one page to
another:
(VB.NET code)

'Add data to the context object before transferring
Context.Items("myParameter") = x
Server.Transfer("handle_error.aspx ")

Then, in handle_error.aspx.aspx:

'Grab data from the context property
Dim x as Integer = CType(Context.Items("myParameter"),Integer)

Of course there are a number of ways to pass values from one page to
another
besides the querystring there are cookies, session, context, saving to
a
temporary table in the database between each page, etc.
You'll have to decide which technique is best for your application.

Here are more good articles on the subject:
http://SteveOrr.net/faq/PassValues.aspx
http://www.aspalliance.com/kenc/passval.aspx
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> On my 1st page, i have a function which gets a new ID value and need
> to transfer to another immediately.
>
> which I want to get in 2nd page using Request.form("txtID"), but
> doesn't work, the returned value is ""
>
> Anybody know how to set this value on 1st page properly, in order to
> let 2nd page catch it? I don't want to use querystring to pass this
> value!
>
> Thanks in advance!
> Keith
>



Jun 9 '06 #7
Then I go for Cookies, thanks very much for your advice!

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:u%***************@TK2MSFTNGP02.phx.gbl...
OK then try cookies, or a database, etc.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.

thats why I want to pass variable data between form without using Session
state method!

Any alternative?
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2******************@TK2MSFTNGP04.phx.gbl...
I gave a long list of other potential techniques you could use.
How about you investigate using Session state. It should be one of the
simpler solutions.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Rabbit" <a@a.com> wrote in message
news:e8****************@TK2MSFTNGP05.phx.gbl...
Thanks Steve

Its working, but I have another problem, if the user clicks my
SiteMapNode to jump to another page, since the menu item is hyperlink,
so i can't use your suggested method to pass data to another page

If I can't use Cookies, session, and i don't want too much work by
using database. Any other method you can tell me for pass data to
another page by clicking hyperlink on the source page?

Thanks in advance

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OK**************@TK2MSFTNGP03.phx.gbl...
> Here's another nice, simple way to pass values from one page to
> another:
> (VB.NET code)
>
> 'Add data to the context object before transferring
> Context.Items("myParameter") = x
> Server.Transfer("handle_error.aspx ")
>
> Then, in handle_error.aspx.aspx:
>
> 'Grab data from the context property
> Dim x as Integer = CType(Context.Items("myParameter"),Integer)
>
> Of course there are a number of ways to pass values from one page to
> another
> besides the querystring there are cookies, session, context, saving to
> a
> temporary table in the database between each page, etc.
> You'll have to decide which technique is best for your application.
>
> Here are more good articles on the subject:
> http://SteveOrr.net/faq/PassValues.aspx
> http://www.aspalliance.com/kenc/passval.aspx
> http://msdn.microsoft.com/msdnmag/is...e/default.aspx
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "Rabbit" <a@a.com> wrote in message
> news:%2****************@TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> On my 1st page, i have a function which gets a new ID value and need
>> to transfer to another immediately.
>>
>> which I want to get in 2nd page using Request.form("txtID"), but
>> doesn't work, the returned value is ""
>>
>> Anybody know how to set this value on 1st page properly, in order to
>> let 2nd page catch it? I don't want to use querystring to pass this
>> value!
>>
>> Thanks in advance!
>> Keith
>>
>
>



Jun 9 '06 #8
"Rabbit" <a@a.com> wrote in message
news:u$**************@TK2MSFTNGP04.phx.gbl...
Then I go for Cookies, thanks very much for your advice!


Let's hope your users haven't disabled cookies... :-)
Jun 10 '06 #9
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.


?????

Is this a known issue? First I've heard of it...
Jun 10 '06 #10
I can 100% sure w3wp.exe has leakage problem when using Crystal Report for
..net (the one comes with VS.Net)

Recently we found that memory usage goes up at constant rate (2MB in our
case) for report execution, after a while when the memory usage goes up to
around 200MB, Crystal Report Viewer will return Load Report Failed

I was using the most typical way to run the report, so I can conclude this
problem was due to w3wp.exe because when I kill this service(the downside is
all session will be cleared), the Crystal Report execution will work again.
"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.


?????

Is this a known issue? First I've heard of it...

Jun 10 '06 #11
Hi,

Mark Rae wrote:
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...

I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.

?????

Is this a known issue? First I've heard of it...


The memory leakage problem is probably due to bugs in the programming.
We conducted extensive tests on IIS5 and IIS6 and we also had memory
leaks in the beginning, but by using tools and with Microsoft's
assistance, we now have a very stable situation.

The recycling is an option which you can use in IIS6 only, you can set a
time after which the working process will be restarted. It's not an
issue, it's a feature, however it's correct that you'll lose your
session state when the process is recycled. Since the process is stopped
cleanly (meaning that the ApplicationEnd event will be executed), you
can implement a way to persist the session state to a file, for example,
and then reload it on ApplicationStart. Since the session IDs remain the
same (because SessionID depends on the client, not on the server), it's
quite easy to do that if needed.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Jun 10 '06 #12
It's possible that you have found an actual bug in the system, but it's
far more likely that there is a bug in your code.

There are thousands of people that has used the same setup before you,
and if there was a leak like that in IIS or Crystal Report, there would
be a lot to read about it.

Rabbit wrote:
I can 100% sure w3wp.exe has leakage problem when using Crystal Report for
.net (the one comes with VS.Net)

Recently we found that memory usage goes up at constant rate (2MB in our
case) for report execution, after a while when the memory usage goes up to
around 200MB, Crystal Report Viewer will return Load Report Failed

I was using the most typical way to run the report, so I can conclude this
problem was due to w3wp.exe because when I kill this service(the downside is
all session will be cleared), the Crystal Report execution will work again.
"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...
I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.

?????

Is this a known issue? First I've heard of it...


Jun 10 '06 #13
Laurent,

Thanks for your suggestion! Sounds this is the way out, do you mind to give
me more detail (such as sample coding) about how to do it? especially how to
you retrieve/save the same Session ID when the Application_End and
Application_Start

Because, the current web application on production already, I need to find a
solution to fix up the problem as soon as possible!

Thanks in advance

Because I thought Session ID will be different everytime when
"Laurent Bugnion" <lb******@bluewin.ch> wrote in message
news:44********@news.bluewin.ch...
Hi,

Mark Rae wrote:
"Rabbit" <a@a.com> wrote in message
news:uH**************@TK2MSFTNGP02.phx.gbl...

I can't use Session state, because currently we notice IIS's 6.0 worker
process (w3wp.exe) has memory leakage problem, at some point when it
recycle the process, all session state will be clear, so connected user
will lost those information.

?????

Is this a known issue? First I've heard of it...


The memory leakage problem is probably due to bugs in the programming. We
conducted extensive tests on IIS5 and IIS6 and we also had memory leaks in
the beginning, but by using tools and with Microsoft's assistance, we now
have a very stable situation.

The recycling is an option which you can use in IIS6 only, you can set a
time after which the working process will be restarted. It's not an issue,
it's a feature, however it's correct that you'll lose your session state
when the process is recycled. Since the process is stopped cleanly
(meaning that the ApplicationEnd event will be executed), you can
implement a way to persist the session state to a file, for example, and
then reload it on ApplicationStart. Since the session IDs remain the same
(because SessionID depends on the client, not on the server), it's quite
easy to do that if needed.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jun 10 '06 #14
Hi,

Rabbit wrote:
Laurent,

Thanks for your suggestion! Sounds this is the way out, do you mind to give
me more detail (such as sample coding) about how to do it? especially how to
you retrieve/save the same Session ID when the Application_End and
Application_Start

Because, the current web application on production already, I need to find a
solution to fix up the problem as soon as possible!

Thanks in advance


I'll try to post an example tonight, so you can try it tomorrow.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Jun 11 '06 #15
Laurent,

Thanks very much for your suggestion, I did use your idea and change my code
today and so far its under testing and working fine at the moment!

In summary, I did use following design to keep the session info:
a) When user logon, I used current session ID to create a filename at Web
Server, which stores Logon and some user account information
b) At each page's Load event, check if session gets lost, use session ID to
locate the file, in order to reinitialize Session items and copy them into
ViewState for web page function reference.
c) I have provide Logout function for user to end the session and my system
will delete the session file for user

So using above design, even the worker process has recycled while other user
working, their session value can still be keep for continue working!
"Laurent Bugnion" <ga*********@bluewin.ch> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Hi,

Rabbit wrote:
Laurent,

Thanks for your suggestion! Sounds this is the way out, do you mind to
give me more detail (such as sample coding) about how to do it?
especially how to you retrieve/save the same Session ID when the
Application_End and Application_Start

Because, the current web application on production already, I need to
find a solution to fix up the problem as soon as possible!

Thanks in advance


I'll try to post an example tonight, so you can try it tomorrow.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jun 11 '06 #16
Hi,

Rabbit wrote:
Laurent,

Thanks very much for your suggestion, I did use your idea and change my code
today and so far its under testing and working fine at the moment!

In summary, I did use following design to keep the session info:
a) When user logon, I used current session ID to create a filename at Web
Server, which stores Logon and some user account information
b) At each page's Load event, check if session gets lost, use session ID to
locate the file, in order to reinitialize Session items and copy them into
ViewState for web page function reference.
c) I have provide Logout function for user to end the session and my system
will delete the session file for user

So using above design, even the worker process has recycled while other user
working, their session value can still be keep for continue working!


That sounds good. Note that to be safe, you should also plan the case
where the session is never ended correctly (because the user doesn't
log-off, and because the server crashes before the SessionEnd event is
executed). There are different approaches to that problem, the easiest
being to delete the files when they are older than X days.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
Jun 11 '06 #17
Yes, forgot to mentioned that I will run a batch a mid-night, which kills
any session file created older than 2 days!

"Laurent Bugnion" <ga*********@bluewin.ch> wrote in message
news:eA**************@TK2MSFTNGP02.phx.gbl...
Hi,

Rabbit wrote:
Laurent,

Thanks very much for your suggestion, I did use your idea and change my
code today and so far its under testing and working fine at the moment!

In summary, I did use following design to keep the session info:
a) When user logon, I used current session ID to create a filename at Web
Server, which stores Logon and some user account information
b) At each page's Load event, check if session gets lost, use session ID
to locate the file, in order to reinitialize Session items and copy them
into ViewState for web page function reference.
c) I have provide Logout function for user to end the session and my
system will delete the session file for user

So using above design, even the worker process has recycled while other
user working, their session value can still be keep for continue working!


That sounds good. Note that to be safe, you should also plan the case
where the session is never ended correctly (because the user doesn't
log-off, and because the server crashes before the SessionEnd event is
executed). There are different approaches to that problem, the easiest
being to delete the files when they are older than X days.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jun 11 '06 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: carmen | last post by:
I am using the code below to open another page depending on what is selected. This is working ok but I would like to streamline it so that I will hot have to create a page everytime a new category...
4
by: tom | last post by:
Hi Experts, I want to pass the selectedDate value from my calender form to another web form or a web user control. Could you please show me how to do this? Thanks in advance.
2
by: macyp | last post by:
I have to pass values from one aspx page to another. The controls I have in the first page are: a textbox, 3 drop down lists, and 2 check boxes, and a submit button. It is a search page, and the...
3
by: Naseem | last post by:
I am using CR in ASP.NET , I am able to show drill down graphs where grouping is done on single column from result set of sql query, is it possible to achieve drill down by grouping on multiple...
2
by: c676228 | last post by:
Hi, This is my first time to post asp.net question on this forum. I have a question for "How to pass the first form value to the next form" I have enrollinfo.aspx form which look like as follow:...
3
by: drec | last post by:
I am creating a search box that the user types a value in, and then this gets passed to another page called search.php I would like to be able to pass these values through the URL, but I cant...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
3
by: nse111 | last post by:
I use PHP sessions to pass a value from one page to another. In my 1st page I pass a value called 'id' to my 2nd page using a hyperlink. explained: <a href="abc.php?id=<?php...
9
by: JRough | last post by:
I tried to pass the $result from a mysql_query in a url like this line Header("Location:clm_historyXL.php?_result=".$result); but on the redirect location clm_history.php page I get an error on...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.