Prompt when authentication cookie expires
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Prompt when authentication cookie expires




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Prompt when authentication cookie expires  
triston


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11: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.





[ Post a follow-up to this message ]



    Re: Prompt when authentication cookie expires  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-28-04 11: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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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.







[ Post a follow-up to this message ]



    Re: Prompt when authentication cookie expires  
Mei Ying \(MVP\)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-30-04 07: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] 
>
>
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:27 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register