Click here to Skip to main content
15,943,245 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys , now am in a web service project and new to this concept.I am hosting my service in IIS 5.1 successfully. Now i need to add session time out in my service. After a long surfing on google i found it but still i have some problem in session expire.

If you know explain me in details

My web.config file

        <wellknown mode="Singleton" type="HelloWorldObject.Hello, HelloWorldObject" objectUri="SimpleHelloWorld.soap" />
      <add name="HelloWorldObject.Properties.Settings.TestingConnectionString"
            connectionString="Data Source=SYS3\SQLEXPRESS;Initial Catalog=Testing;Integrated Security=True"
            providerName="System.Data.SqlClient" />
     <sessionState timeout="1"></sessionState>

And another thing is, i need to notify my client when the time session expire how can i achieve this....

Thanks in advance

1 solution

Please check the following link which deals with detecting session timeout.[^]
Share this answer
Pravin Patil, Mumbai 3-Feb-11 6:15am    
I think OP is asking session timeout related to web service.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900