problem in webconfig

C

CreativeMind

hi,
I have some forms at the root ( i call them presentation site) and a
folder on the root named admin.
this admin folder has some forms ( i call them as admin site). now i
have a web.config
at the root. adding a location element with path='admin'.
Now session time i've set is 30min. but when i first time access my
url http://localhost/admin/default.aspx
and gets logged in and leave application idle, i face no session
problem for 30 min, but if i use application after
idleness of 15 min and keep idle after use, then it would be expired
after 15min rather than 30min.. if i use app after idleness
of 20min then after use my session will expire after 10min..
my session time counts down on admin site. i want to get session time
separated from client site, if it is sharing/collapsing
with client site. can u plz tell me how to configure web.config..thx
the location element setting on my web.config is as follows..
<location path="Admin" >
<system.web>

<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
thx
 
M

Mark Stevens

Do you have slidingTimeout set to true in the forms authentication
section of the web config?

Cheers,
Mark

hi,
I have some forms at the root ( i call them presentation site) and a
folder on the root named admin.
this admin folder has some forms ( i call them as admin site). now i
have a web.config
at the root. adding a location element with path='admin'.
Now session time i've set is 30min. but when i first time access my
url http://localhost/admin/default.aspx
and gets logged in and leave application idle, i face no session
problem for 30 min, but if i use application after
idleness of 15 min and keep idle after use, then it would be expired
after 15min rather than 30min.. if i use app after idleness
of 20min then after use my session will expire after 10min..
my session time counts down on admin site. i want to get session time
separated from client site, if it is sharing/collapsing
with client site. can u plz tell me how to configure web.config..thx
the location element setting on my web.config is as follows..
<location path="Admin" >
<system.web>

<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
thx
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)

Mark Stevens (mark at thepcsite fullstop co fullstop uk)

This message is provided "as is".
 
C

CreativeMind

Do you have slidingTimeout set to true in the forms authentication
section of the web config?

Cheers,
Mark




--
       |\      _,,,---,,_          A picture usedto be worth a
ZZZzzz /,`.-'`'    -.  ;-;;,       thousand words - then along
      |,4-  ) )-,_. ,\ (  `'-'     came television!
     '---''(_/--'  `-'\_)          

Mark Stevens  (mark at thepcsite fullstop co fullstop uk)

This message is provided "as is".

thanx mark, Yes, i've slidingtimeout as true.. but i changed the
application session timeout and pool performance shutdown idle time as
30, and it works well now..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top