Link to home
Start Free TrialLog in
Avatar of jglazer63
jglazer63

asked on

Triggering event when member returns

I know I can detect when a person logs in via username/password but how can I detect when a person returns to the site (any page on the site) when they've checked the "remember me" box?  I need to fire an event or something so that I can do some stuff one time when a person comes to the site and is logged in.

Any ideas?
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

You need to check the URLReferrer on the Request object to see if its empty and check the Cookies collection.
Avatar of jglazer63
jglazer63

ASKER

Can you expand on this a little?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good