|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cannot share the application variables
<i><b>Originally posted by : Forward Hui (lckchui@ust.hk)</b></i><br />I have run the following asp file.<br /><br /><html><br /><body><br /><%application.lock<br />application("message")="hello"<br />application.unlock<br />%><br />Message = <%=application("message")%><br /></body><br /></html><br /><br />Then when I run the following asp on another machine. message is nothing.<br /><html><br /><body><br />Message = <%=application("message")%><br /></body><br /></html><br /><br />I think I set something wrong in IIS because I got 2 information log in<br />the event log "each time" I click a asp file.<br /><br />Event ID: 3<br />Source:Active Server Pages<br />Description:Service started<br /><br /><br />Event ID: 4<br />Source:Active Server Pages<br />Description:Service stopped<br /><br /><br />Please Help. What should I set to keep the application ON between each session? <br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Barry</b></i><br />Check to make sure your session.timeout is set in the registry. You can also set it in the asp page by setting session.timeout=20 (number represents minutes)<br /><br /><br /><br /><br />------------<br />Forward Hui at 4/27/2000 9:12:06 PM<br /><br />I have run the following asp file.<br /><br /><html><br /><body><br /><%application.lock<br />application("message")="hello"<br />application.unlock<br />%><br />Message = <%=application("message")%><br /></body><br /></html><br /><br />Then when I run the following asp on another machine. message is nothing.<br /><html><br /><body><br />Message = <%=application("message")%><br /></body><br /></html><br /><br />I think I set something wrong in IIS because I got 2 information log in<br />the event log "each time" I click a asp file.<br /><br />Event ID: 3<br />Source:Active Server Pages<br />Description:Service started<br /><br /><br />Event ID: 4<br />Source:Active Server Pages<br />Description:Service stopped<br /><br /><br />Please Help. What should I set to keep the application ON between each session? <br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Cannot share the application variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|