Author |
Topic |
|
drensie
Starting Member
USA
8 Posts |
Posted - 20 March 2007 : 11:56:02
|
I have a link from one of my pages to the forum. The classic click "here" with the link. I have that link directed to mysite.com/forum/default.asp when I click on the link, it ALWAYS redirects me to my home page, however EVERY time I go back to the page with the link and click it a second time it goes to the correct page? I have looked through the forums but to be honest I don't even know where to start with a search. The url is entered correctly for the link and the second time you click it always works. Any suggestions?? |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 20 March 2007 : 11:59:07
|
A link to your site would help
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
drensie
Starting Member
USA
8 Posts |
Posted - 20 March 2007 : 12:01:36
|
www.storeopeningsolutions.com/customers.htm The link is at the bottom of the page. |
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 21 March 2007 : 13:18:54
|
I can verify what you say and repro your bug
Perhaps one of the smarter folks here could answer - is it likely to be a session/cookie thing? |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
drensie
Starting Member
USA
8 Posts |
Posted - 22 March 2007 : 07:08:55
|
Using /forum does the same thing. |
|
|
Roger Fredriksson
Average Member
Sweden
556 Posts |
|
texanman
Junior Member
United States
410 Posts |
|
drensie
Starting Member
USA
8 Posts |
Posted - 22 March 2007 : 13:48:01
|
That seemed to work...changing to login.asp?... Thanks for the help. Our customers will be using the link so I want to make it as simple as possible for them. Thank you everyone for your help. Still do not know what was causing it, but a solution is a solution! |
|
|
Roger Fredriksson
Average Member
Sweden
556 Posts |
Posted - 22 March 2007 : 16:12:20
|
Even a blind hen sometimes finds a grain of corn ;-> It would however be interesting to understand why it did not work and is there some kind of disadvantage to change - what happens if you already are logged in? |
rf/www.avgifter.com |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 22 March 2007 : 16:41:49
|
Actually,,, it still doesn't work :-(. I tried few minutes ago. |
|
|
Roger Fredriksson
Average Member
Sweden
556 Posts |
Posted - 22 March 2007 : 16:59:08
|
I am going to die hungry! Sometimes it works and sometimes not, right now I am not able to get it to not working. I rest my case (like if I ever have had one ;)) |
rf/www.avgifter.com |
|
|
texanman
Junior Member
United States
410 Posts |
Posted - 22 March 2007 : 17:15:22
|
quote: Originally posted by Roger Fredriksson
I am going to die hungry! Sometimes it works and sometimes not, right now I am not able to get it to not working. I rest my case (like if I ever have had one ;))
LOL Try tomorrow early in the morning, it won't be working. But then again you rested your case! |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 23 March 2007 : 04:06:18
|
Have a look at your logs, it may throw some light on why the redirect is occurring.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
pdrg
Support Moderator
United Kingdom
2897 Posts |
Posted - 30 March 2007 : 09:32:20
|
We've definitely got an oddity here - using Tamper Data...
14:12:46.640[156ms][total 156ms] Status: 302[Object moved] GET http://www.storeopeningsolutions.com/forum/login.asp?target=default.asp Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Content Size[161] Mime Type[text/html] Request Headers: Host[www.storeopeningsolutions.com] User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11] Accept[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5] Accept-Language[en-gb,en;q=0.5] Accept-Encoding[gzip,deflate] Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7] Keep-Alive[300] Connection[keep-alive] Referer[http://www.storeopeningsolutions.com/customers.htm] Cookie[%2Fforum%2FGROUP=2] Response Headers: Server[Microsoft-IIS/5.0] Date[Fri, 30 Mar 2007 13:14:26 GMT] MicrosoftOfficeWebServer[5.0_Pub] X-Powered-By[ASP.NET] Location[http://www.store-solutions.com/index.htm] Content-Length[161] Content-Type[text/html] Set-Cookie[ASPSESSIONIDSATATDTT=EHDIJDJDKJDNMJMHCMKFEFNM; path=/] Cache-Control[private]
14:13:43.109[0ms][total 94ms] Status: pending[] GET http://www.storeopeningsolutions.com/customers.htm Load Flags[VALIDATE_NEVER LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Content Size[unknown] Mime Type[unknown] Request Headers: Host[www.storeopeningsolutions.com] User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11] Accept[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5] Accept-Language[en-gb,en;q=0.5] Accept-Encoding[gzip,deflate] Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7] Keep-Alive[300] Connection[keep-alive] Referer[http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64309] Cookie[%2Fforum%2FGROUP=2; ASPSESSIONIDSATATDTT=EHDIJDJDKJDNMJMHCMKFEFNM]
14:13:48.281[1172ms][total 1250ms] Status: 200[OK] GET http://www.storeopeningsolutions.com/forum/login.asp?target=default.asp Load Flags[LOAD_DOCUMENT_URI LOAD_INITIAL_DOCUMENT_URI ] Content Size[11279] Mime Type[text/html] Request Headers: Host[www.storeopeningsolutions.com] User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11] Accept[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5] Accept-Language[en-gb,en;q=0.5] Accept-Encoding[gzip,deflate] Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7] Keep-Alive[300] Connection[keep-alive] Referer[http://www.storeopeningsolutions.com/customers.htm] Cookie[%2Fforum%2FGROUP=2; ASPSESSIONIDSATATDTT=EHDIJDJDKJDNMJMHCMKFEFNM] Response Headers: Server[Microsoft-IIS/5.0] Date[Fri, 30 Mar 2007 13:15:28 GMT] MicrosoftOfficeWebServer[5.0_Pub] X-Powered-By[ASP.NET] Content-Length[11279] Content-Type[text/html] Set-Cookie[%2Fforum%2FGROUP=2; expires=Sun, 29-Apr-2007 13:15:26 GMT; path=/] Cache-Control[private]
There's no session cookie set on initial request, which is otherwise identical ot the one which works (with the session cookie set after the initial request/redirect)
I'm certain there's a cookie thing going on here |
Edited by - pdrg on 30 March 2007 09:39:49 |
|
|
|
Topic |
|