Groups | Blog | Home
all groups > asp.net security > june 2007 >

asp.net security : Flash menu doesn't work when the session is expired


Alex
6/26/2007 9:54:00 AM
We created a website for our customer to check their order status. We are
using login controls, authentication mode="Forms", SqlMembershipProvider, and
all asp.net security. User has to login when he access the website first time
and then he can click Flash menu to go to every page.

It is supposed to redirect to login page when user click the menu if the
session is expired. But now user still can click the menu to go to every
page. If we change the flash menu to text menu, it works fine. It looks like
the flash menu has different session but asp.net doesn't recognize it.

Anyone can help me to resolve this problem?

Alexey Smirnov
6/26/2007 10:29:11 AM
[quoted text, click to view]

<deny users="?" /> in the web.config file should help
Alex
6/26/2007 12:06:01 PM
I had <deny users="?" /> in the web.config but still doesn't work. If I put
debug="true" in the page head it works. For example, the inventory.aspx only
works if I put debug="true" to its head. But orderstatus.aspx doesn't work if
I don't put debug="true" in its head. And it looks stiall work even I remove
debug="true" from Inventory.aspx. These confuse me.


[quoted text, click to view]
Alexey Smirnov
6/27/2007 12:05:18 AM
[quoted text, click to view]

Let me understand

default.aspx has menu and a link in menu to inventory.aspx

When you stay on the default.aspx and session is expired link to
inventory.aspx is working and you don't have a redirect to login.aspx
and session is also gone.

I'm right?
AddThis Social Bookmark Button