-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: BusyWizy
Message 3 in Discussion

Hi,

Try the Application_BeginAuthenticate Event. 

Within this event all u have to do is check if the authentication ticket is
present. If it is, then the user is authenticated.

You can check for the presence of the ticket by checking the cookies
collection. The name of the cookie that u r interested in would be the
cookiename that u define in the web.config file

Regards,
Nauzad.

> -----Original Message-----
> From: raja36 [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 13, 2003 2:16 AM
> To: [EMAIL PROTECTED]
> Subject: How to check if the session has time out?
> 
> -----------------------------------------------------------
> 
> New Message on MumbaiUserGroup
> 
> -----------------------------------------------------------
> From: raja36
> Message 1 in Discussion
> 
> Hi,
> My session time out is 20 mins. what i want to do is check if the session
> has time out in the Application_BeginRequest of the global.asax file. Iam
> using Forms authentication in my application so i want to check if the
> user
> is authenticated & if he is authenticated only then i want to check if the
> session exist. When i check for Request.isAuthenticate its always false.
> How
> do i check if the user is authenticated ? when a user has logged in
> FormsAuthentication.SetAuthCookie(sFullName, False)
> is there anything iam missing out.
> 
> regards
> Rajesh Nair
> 
> _________________________________________________________________
> Watching a pirated movie? Stop now!
> http://server1.msn.co.in/Computing/antipiracy/movies.html Say no to
> piracy!
> 
> 
> -----------------------------------------------------------
> 
> To stop getting this e-mail, or change how often it arrives, go to your E-
> mail Settings.
> http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
> 
> Need help? If you've forgotten your password, please go to Passport Member
> Services.
> http://groups.msn.com/_passportredir.msnw?ppmprop=help
> 
> For other questions or feedback, go to our Contact Us page.
> http://groups.msn.com/contact
> 
> If you do not want to receive future e-mail from this MSN group, or if you
> received this message by mistake, please click the "Remove" link below. On
> the pre-addressed e-mail message that opens, simply click "Send". Your e-
> mail address will be deleted from this group's mailing list.
> mailto:[EMAIL PROTECTED]





-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to