|
| |
|
|
crosscreek
Posts: 107 Joined: 2/5/2008 Status: offline
|
Login between pages & cases - 4/4/2008 1:49:58
I have a check.asp page where someone has a couple of options There's a match: hyperlink to match page No match: would you like to ADD the dog With a hyperlink to the adddog.asp page with Case NDA <a href="adddog.asp?dog=<%=escape(strdoggy)%>&add=NDA">Add <%=Ucase(strdoggy)%> to the database.</a> I would like for the user to login if they want to ADD the dog. So I put the spooky login code in the case statment of NDA (no login required if they want to view dogs, just add or edit) With out the login code it works fine. Except if I use the spooky code I get error with case because it adds amp; in the statment I get with making somone login below: http://www.huntinglabpedigree.com/adddog.asp?dog=Trumarc%27s%20Raider&add=NDA Without making someone login (and this is the correct code): http://www.huntinglabpedigree.com/adddog.asp?dog=Trumarc%27s%20Raider&add=NDA How do I remove the amp; part? The spooky code using is and I have it on a few other pages (edit pages, etc) if session("UserName")&""="" then response.redirect "/login.asp?Redirect="&Request.Servervariables("URL")&"?"&Request.Servervariables("QUERY_STRING") end if
|
|
|
|
crosscreek
Posts: 107 Joined: 2/5/2008 Status: offline
|
RE: Login between pages & cases - 4/4/2008 3:00:09
<input type="hidden" name="Redirect" value="/adddog.asp?dog=Trumarc%raider&add=NDA"> This is the only page it does it with. What would cause the amp? P.S. (from login emailing problems answer) I sent the email to you by clicking on the email tab under your avatar. The email is floating in cyber space
|
|
|
|
crosscreek
Posts: 107 Joined: 2/5/2008 Status: offline
|
RE: Login between pages & cases - 4/7/2008 16:01:14
I did change up my code a little & haven't tested out the login with the add dog page. With the adddog.asp page, I was creating a Loop with with checking for duplicates...etc. So this might have been the problem....I changed it to a better coding & removed the loop commands. I was working on that last night, let me check to see if I get a amp; problem again & I will defiantly let you know one way or the other. Thanks....
|
|
|
|
crosscreek
Posts: 107 Joined: 2/5/2008 Status: offline
|
RE: Login between pages & cases - 4/7/2008 16:15:32
Still not working...Sending you an email!!! Thanks Helena
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|