Forums
This topic is locked
Encoded URL in ASP and DMX
Posted 23 Dec 2004 18:58:10
1
has voted
23 Dec 2004 18:58:10 Daniel Severns posted:
<font face='Arial'>I posted this message in the Dreamweaver forum, if you are reading this again, please excuse me. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>I’m using DMX and I set up a login page with associated restricted pages. When a user is not logged it and attempts to access a page, they will be redirected to an "access denied" page. When the user is redirected to this page, there is something in the code that breaks up the URL.
Is it possible to keep the original URL when a user is redirected to the "Access Denied" page?
Here is an example of what I mean:
/Root/Page/Page.asp?accessdenied=%2FMembers%2FPhotos%2Findex%2Easp%3FcategoryID%3D1
Its should read like this:
/Root/Page/Page.asp?categoyID=1
Thanks
Dan
</font id='Arial'>
Replies
Replied 29 Dec 2004 02:49:22
29 Dec 2004 02:49:22 Daniel Severns replied:
Can someone please help? I know im new here but please dont hold it against me.
Replied 30 Dec 2004 14:26:32
30 Dec 2004 14:26:32 Simon Martin replied:
I've not had a problem using the built in server behaviour myself; yes the URL gets altered into something like your 1st example, but then i'm taken to the correct page with a nice clean URL.
Can you post a URL for us to have a look at what you mean please Daniel.
Live the life you love
Love the life you live
Simon
[DWMX 2004]|[SQL]|[ASP/VBScript]|[XP-Pro]
Can you post a URL for us to have a look at what you mean please Daniel.
Live the life you love
Love the life you live
Simon
[DWMX 2004]|[SQL]|[ASP/VBScript]|[XP-Pro]
Replied 21 Jan 2005 12:26:26
21 Jan 2005 12:26:26 Dave Thomas replied:
message deleted for "PAY ME" reply.
i see any more of these, theyll be deleted straight away.
if you cant help, dont reply.
regards
Dave
i see any more of these, theyll be deleted straight away.
if you cant help, dont reply.
regards
Dave
Replied 21 Jan 2005 20:26:20
21 Jan 2005 20:26:20 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>message deleted for "PAY ME" reply.
i see any more of these, theyll be deleted straight away. if you cant help, dont reply.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
i see any more of these, theyll be deleted straight away. if you cant help, dont reply.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle> <img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>