Microsoft Content Management Server - Prompt when authentication cookie expires

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > July 2004 > Prompt when authentication cookie expires





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Prompt when authentication cookie expires
triston

2004-07-28, 6:10 pm

HI everyone.

I am currently using cookies for the authentication in MCMS 2002.

The authors/editors will log in using the default login page. But the
problem happens when the time which editors/authors work on the page
exceeds the cookie lifespan.

In this case, when the user tries to save their work, they are shown
the login screen again. Upon input of credentials, all the effort is
lost and this can be quite frustrating.

Is it possible to set the cookie to non-expiry when work is being done
on a page? Else is it possible to have an alert to prompt the user to
save when the cookie is about to expire?

thanks.
Stefan [MSFT]

2004-07-28, 6:10 pm

Hi Triston,

I don't think that one of this is possible.
You can increase the lifespan in general in the SCA (ensure that the ASP.NET
cookie lifespan is also increased in the web.config)

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"triston" <triston1977sg@yahoo.com> wrote in message
news:e878ad1a.0407280712.473b2191@posting.google.com...
> HI everyone.
>
> I am currently using cookies for the authentication in MCMS 2002.
>
> The authors/editors will log in using the default login page. But the
> problem happens when the time which editors/authors work on the page
> exceeds the cookie lifespan.
>
> In this case, when the user tries to save their work, they are shown
> the login screen again. Upon input of credentials, all the effort is
> lost and this can be quite frustrating.
>
> Is it possible to set the cookie to non-expiry when work is being done
> on a page? Else is it possible to have an alert to prompt the user to
> save when the cookie is about to expire?
>
> thanks.



Mei Ying \(MVP\)

2004-07-30, 2:47 am

Hi

Or place one of those javascript based timers on the page
in edit mode (careful, we don't want subscribers to see
this). Before the time is up, alert the user. Here's an
article that may help:
http://javascript.about.com/library...y/aa073001a.htm

Mei Ying

>-----Original Message-----
>Hi Triston,
>
>I don't think that one of this is possible.
>You can increase the lifespan in general in the SCA

(ensure that the ASP.NET
>cookie lifespan is also increased in the web.config)
>
>Cheers,
>Stefan.
>
>--
>This posting is provided "AS IS" with no warranties, and

confers no rights.
>
>MCMS FAQ:
>http://download.microsoft.com/download/4/2/5/4250f79a-

c3a1-4003-9272-2404e92bb76a/MCMS+2002+-+(complete)+FAQ.htm
>MCMS Blog:

http://blogs.msdn.com/stefan_gossner/category/4983.aspx
>MCMS Sample Code:
>http://www.gotdotnet.com/community/...les/Default.asp

x? ProductDropDownList=Content+Management+S
erver
>MCMS Whitepapers and other docs:
>http://blogs.msdn.com/stefan_gossne...e/2003/12/07/41

859.aspx
>--------------------------------
>
>
>"triston" <triston1977sg@yahoo.com> wrote in message
>news:e878ad1a.0407280712.473b2191@posting.google.com...
MCMS 2002.[vbcol=seagreen]
page. But the[vbcol=seagreen]
work on the page[vbcol=seagreen]
they are shown[vbcol=seagreen]
the effort is[vbcol=seagreen]
work is being done[vbcol=seagreen]
prompt the user to[vbcol=seagreen]
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com