>- see footer for list info -< You would only store in the DB when they actually logout. The last_page can be tarcked in a session variable until they do that.
Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kerry Sent: 26 August 2005 09:40 To: Coldfusion Development Subject: RE: [CF-Dev] Can anyone help me withthis please >- see footer for list info -< Good point Duncan. Although cookies are less reliable, I do have an issue with the db column, if it requires a db update on every page request. p.s. sorry all for my double post. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Duncan Cumming Sent: 26 August 2005 09:21 To: [email protected] Subject: Re: [CF-Dev] Can anyone help me withthis please >- see footer for list info -< paul, i take it you mean both if they get logged out due to inactivity, and also if they log out one day and don't log back in until a few days later? if so not sure Kerry's solution covers situation 2... in which case cookies probably. or add a LastPageLookedAt column in your user's table. Duncan Cumming New Media Developer Customer Relations Management / Education Fife Council 700 4105 / 01592 414105 >>> [EMAIL PROTECTED] 26/08/2005 08:13 >>> >- see footer for list info -< I have an application and the client has asked for the following... "Modify current system login to return the user to the page they were last looking at when logged out and re login" What they are asking for is when the application variable times out and the user is logged out at present they are sent to the login page and then after successful login they are sent to the default page. How can I return the user to the page they were last looking at? I think this is a job for a cookie. The problem is not all of our users allow cookies. So. are cookies the best way to go? Is there some facility in CF that I can use to do this? IS this best done by writing something to the database to track the page the user is looking at? (sounds unecconomical this ..) Any ideas code snippets? Regards - Paul _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed and should not be disclosed to any other party. If you have received this email in error please notify your system manager and the sender of this message. This email message has been swept for the presence of computer viruses but no guarantee is given that this e-mail message and any attachments are free from viruses. Fife Council Tel: +44 (0) 1592 414141 ********************************************************************** _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
