Preventing Multiple Logins in ASP.NET

N

Nicholas Paldino [.NET/C# MVP]

Vishal,

Which cache are you referring to? Are you referring to the Cache on the
ASP.NET side? If you are placing items in the Cache, and they are keyed to
a particular user, then it is up to you to clear the cache using the key
that you used which relates to the user.

If you are referring to the browser side cache, then you really can't do
anything about that, other than setting the caching headers in the response
to tell the browser to not cache the content at all.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Hi I went thru this article at
http://www.eggheadcafe.com/articles/20030418.asp and implemented it in my
ASP.Net 2.0 application. You did not say anything about clearing the cache
when the user "sign's out" properly from the application, about removing
the key the cache. Can you shed some light on that?

The key the cache?

Did you miss something there?

everything that is stored in the session will be removed when the sessions
ends (when the user "sign out"), if you are keeping it globally to the app
it will stay
 
G

Guest

Vishal,
If you have a question about an article on eggheadcafe.com (or any other
similar website) you should first post your question to the forums on that
site, not on a public newsgroup where people would just get confused. Not
only that, but you've posted to the C# Language newsgroup and your question
isn't about C# - its about ASP.NET.
Thanks,
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top