CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.faq_frequently_asked_questions Tags:
Item Type: NewsGroup Date Entered: 1/21/2008 9:54:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 52 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
spreddi_123@yah
Asp.Net User
creating session1/21/2008 9:54:09 AM

0

I am developing a website. What is the appropriate place in a application to create a session to a user.

jimmy q
Asp.Net User
Re: creating session1/21/2008 10:13:44 AM

0

I am developing a website. What is the appropriate place in a application to create a session to a user.
 

Session management is maintained all by ASP.NET so you do not need to create sessions. Once a user visits the ASP.NET site ASP will create the session and manage it either via cookie or cookieless session. 

gyana.ojha
Asp.Net User
Re: creating session1/21/2008 12:18:30 PM

0

 declare application level session variable in global.ascx file

gyana.ojha
Asp.Net User
Re: creating session1/21/2008 12:38:51 PM

0

session level and application level variable is diffrent

a new session is alway create when user open a new browser...
 
I hope you are taking about application level variable.......... 

 

spreddi_123@yah
Asp.Net User
Re: creating session1/21/2008 1:29:10 PM

0

 I actually want to display total number of users online.

For this i had created an application  variable  in global.asax. On session start I had incremented it by one and on session end i had decreamented it by one.


 

 application variable is getting increased by 1 after opening the browser.

Problem is app variable is not decreased by 1 after closing the browser. It was decreased by 1 only when session expires(depending on expire time ). But i want to decrease this app variable immediately after closing browser.

 

Please tell me solutions to this probem.

Thanks in advance. 

 

 

5 Items, 1 Pages 1 |< << Go >> >|


Free Download:




   
  Privacy | Contact Us
All Times Are GMT