如何防止身份验证票证到期 [英] how to prevent auth ticket expiration

查看:71
本文介绍了如何防止身份验证票证到期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在表单身份验证构造中,我需要一种方法来阻止票证

IssueDate和Expiration仅针对特定页面进行更新。通过

默认表单身份验证只要请求页面

,就会更新这两个值并向前滑动这些值。有没有办法放弃这个

proccess只是为了一个特定的页面。


我需要这个,因为这个页面是在幕后请求

内联网应用程序的提醒。由于这是每分钟完成的,

用户登录永不过期,这是不可取的。


谢谢

佩里

In the forms authentication construct, I need a way to prevent ticket
IssueDate and Expiration from being updated for a specific page only. By
default forms authentication updates these two values whenever a page is
requested and slides these values forward. Is there any way to forgo this
proccess just for a specific page.

I need this because this page is requested behind the scenes cheking for
reminders for an Intranet application. Since this is done every minute the
user Login never expires which is not desirable.

Thanks
Perry

推荐答案

可以在不同的应用程序(禁用Forms Auth的应用程序)中创建该页面吗?


-Brock

DevelopMentor
http://staff.develop.com/ballen
Can make that page in a different application (one where Forms Auth is disabled)?

-Brock
DevelopMentor
http://staff.develop.com/ballen
在表单身份验证构造中,我需要一种方法来阻止票证
IssueDate和Expiration仅针对特定页面进行更新。
按默认表单身份验证在请求
页面时更新这两个值并向前滑动这些值。是否有任何方法可以为特定页面放弃此过程。

我需要这个,因为这个页面是在幕后请求提取内部网应用程序的提醒。由于这是每隔一分钟完成一次,用户登录永不过期,这是不可取的。

谢谢佩里
In the forms authentication construct, I need a way to prevent ticket
IssueDate and Expiration from being updated for a specific page only.
By default forms authentication updates these two values whenever a
page is requested and slides these values forward. Is there any way to
forgo this proccess just for a specific page.

I need this because this page is requested behind the scenes cheking
for reminders for an Intranet application. Since this is done every
minute the user Login never expires which is not desirable.

Thanks
Perry






试过这个并且它不起作用。

每次访问页面时浏览器都会给我一个跨域警告

这是不可接受的。

这是因为这个页面是通过XMLHTTPRequest客户端调用的。

javascript对象。


Perry

" Brock Allen" < BA **** @ NOSPAMdevelop.com>在消息中写道

新闻:10 *********************** @ msnews.microsoft.co m ...
Tried this and it does not work.
The browser gives me a cross domain warning every time the page is accesses
which is not acceptable.
This occurs because this page is called through the XMLHTTPRequest client
javascript object.

Perry

"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:10***********************@msnews.microsoft.co m...
可以在不同的应用程序中使用该页面(禁用Forms Auth的那个)?

-Brock
DevelopMentor
http://staff.develop.com/ballen
Can make that page in a different application (one where Forms Auth is
disabled)?

-Brock
DevelopMentor
http://staff.develop.com/ballen
在表单身份验证构造中,我需要一种方法来防止票证仅针对特定页面更新IssueDate和Expiration。
默认情况下,表单身份验证会在请求
页面时更新这两个值并向前滑动这些值。是否有任何方法可以为特定页面放弃此过程。

我需要这个,因为这个页面是在幕后请求提取内部网应用程序的提醒。由于这是每隔一分钟完成一次,用户登录永不过期,这是不可取的。

谢谢
Perry
In the forms authentication construct, I need a way to prevent ticket
IssueDate and Expiration from being updated for a specific page only.
By default forms authentication updates these two values whenever a
page is requested and slides these values forward. Is there any way to
forgo this proccess just for a specific page.

I need this because this page is requested behind the scenes cheking
for reminders for an Intranet application. Since this is done every
minute the user Login never expires which is not desirable.

Thanks
Perry




您是否在同一站点中创建了新的虚拟目录?它甚至可以在您已经使用的应用程序下嵌套

。 XMLHTTPRequest不会知道

服务器端的区别。


-Brock

DevelopMentor
http://staff.develop.com/ballen
Did you create a new virtual directory in the same site? It can even be nested
under the app you''re already using. XMLHTTPRequest wouldn''t know of that
server side distinction.

-Brock
DevelopMentor
http://staff.develop.com/ballen
尝试了这个并且它不起作用。
每次页面访问时浏览器都会给我一个跨域警告
这是不可接受的。
这是因为这个页面通过XMLHTTPRequest
客户端调用javascript对象。
Perry

Brock Allen < BA **** @ NOSPAMdevelop.com>在消息中写道
新闻:10 *********************** @ msnews.microsoft.co m ...
Tried this and it does not work.
The browser gives me a cross domain warning every time the page is
accesses
which is not acceptable.
This occurs because this page is called through the XMLHTTPRequest
client
javascript object.
Perry

"Brock Allen" <ba****@NOSPAMdevelop.com> wrote in message
news:10***********************@msnews.microsoft.co m...
可以在不同的应用程序中创建该页面(其中Forms Auth
被禁用)?

-Brock
DevelopMentor
http://staff.develop.com/ballen
Can make that page in a different application (one where Forms Auth
is disabled)?

-Brock
DevelopMentor
http://staff.develop.com/ballen
在表单身份验证中构造,我需要一种方法来阻止门票IssueDate和Expiration仅针对特定的页面进行更新。默认情况下,表单身份验证会在请求页面时更新这两个值,并向前滑动这些值。是否有任何方法可以放弃这个过程只是为了一个特定的页面。

我需要这个,因为这个页面是在幕后请求提取内联网应用程序的提醒。由于这是每隔一分钟完成一次,用户登录永远不会过期,这是不可取的。

谢谢
Perry
In the forms authentication construct, I need a way to prevent
ticket IssueDate and Expiration from being updated for a specific
page only. By default forms authentication updates these two values
whenever a page is requested and slides these values forward. Is
there any way to forgo this proccess just for a specific page.

I need this because this page is requested behind the scenes cheking
for reminders for an Intranet application. Since this is done every
minute the user Login never expires which is not desirable.

Thanks
Perry






这篇关于如何防止身份验证票证到期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆