This is a discussion on session time within the ASP and ASP.NET Programming forums, part of the Web Development category; Hello, We can create a session by using session[] statement. How can we set a time for the session thus ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hello, We can create a session by using session[] statement. How can we set a time for the session thus created. Thus it will automatically logout. Such as this discussweb forum. |
| Sponsored Links |
| |||
| Hi, Go through the following link.It helps u to maintain Session, ASP.NET: Using Forms Authentication in ASP.NET - Xoc Software (RVBA Conventions, Maya Calendar, et.al.) |
| |||
| Dear mam, Thank you for your help. I tried the given example in the webpage that was specified by you. While compiling i got no error. But while trying to run i got a error such as Error 1 '_Default.btnLogin_Click(object, System.EventArgs)' is inaccessible due to its protection level E:\Kirubha\Examples\sessionex\login.aspx 24 I don't know which one is wrong. I am new to the DotNet environment. So please help me. -Kirubha |
| |||
| Sorry mam, I myself found the error. The button click event function was defined as private. So the form cannot access that function. I changed it to public function. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| show clocks, one showing the current time, and another showing a time 12 hours behind | itbarota | HTML, CSS and Javascript Coding Techniques | 1 | 02-13-2008 10:15 PM |
| How can I set the time zone for MySQL to UK time? | itbarota | PHP Programming | 1 | 09-12-2007 01:13 AM |
| Destroy session using session ID | Jeyaseelansarc | PHP Programming | 1 | 09-07-2007 07:42 AM |
| Relation between process system time, process waiting time | vigneshgets | Operating Systems | 0 | 08-01-2007 12:57 AM |
| Diff between Transaction-time and Server response-time | vadivelanvaidyanathan | Software Testing | 0 | 03-21-2007 07:29 AM |