Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:784486
More Search Options
RSS Available
Matching Posts
Re: Mysterious behaviour of Session in asp.net
When you click the button. First it will go to page_load where you will reach in PostBack and it will exit. then you will reach to Button Click where you will see the same variable and then you will be redirected. make sense?
Posted to
State Management
(Forum)
by
dineshsbisht
on 11/4/2009
Re: Handling Session in IFrame Window
use javascript parent window property. set the URL the parent to login page. make sure the login page.
Posted to
State Management
(Forum)
by
dineshsbisht
on 11/2/2009
Re: forced logout clear previous session
Adding to the approach above you should have a small IFrame checking for your session all the time in some interval and if it finds the user is logged in with other session delete the session and because now session won't exists, should logout the application. Make sense?
Posted to
State Management
(Forum)
by
dineshsbisht
on 11/2/2009
Re: Mozilla and Session Variables
does your mozilla browser has some Java script restriction?
Posted to
State Management
(Forum)
by
dineshsbisht
on 11/2/2009
Re: Mysterious behaviour of Session in asp.net
because of your this code If Page.IsPostBack Then Exit Sub End If When you click on button, it goes into this if and make an exit, next lines do not get executed and you session remains same. Does that make sense?
Posted to
State Management
(Forum)
by
dineshsbisht
on 11/2/2009
Re: What Happens to a Session After User Closes Browser?
Okey so I think I am little confuse here now. When we close the browser the the session still exists but you can't access it. Could you clarify what your question here is? If you want to clear out the session when you close the browser I am sure you can do it using lot of different things (my fav one is using javascript). But I don't understand why would you want to do it, because the timeout will do it anyway. So I think your question has been answered that the session still exists even
Posted to
State Management
(Forum)
by
dineshsbisht
on 10/30/2009
Re: What Happens to a Session After User Closes Browser?
oh so what you wana do exactly?
Posted to
State Management
(Forum)
by
dineshsbisht
on 10/30/2009
Re: question about postback
unassigned my friend if its a local variable specific to the page. if its an application variable stored in session or somewhere you can retrieve it
Posted to
State Management
(Forum)
by
dineshsbisht
on 10/30/2009
Re: What Happens to a Session After User Closes Browser?
I don't know exactly how to get the exact live count but there are certain ways to do it. Like the way I prefer is have user activity. Here is what I can approach: On the first request create an authentication ticket, and store the timestamp in the database. For subsequent requests when the user browse (I mean request for any page) update the timestamp value. Check after each 5 minutes of the particular timestamps and if the user didn't do anything in the five minutes (means the time stamp
Posted to
State Management
(Forum)
by
dineshsbisht
on 10/30/2009
Re: What Happens to a Session After User Closes Browser?
how are you counting the number of alive sessions? from the above code looks like you are storing the count in application variable which will only go to zero if you restart IIS server
Posted to
State Management
(Forum)
by
dineshsbisht
on 10/29/2009
Page 1 of 9 (87 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online