/    Sign up×
Community /Pin to ProfileBookmark

Netscape doesnt recognize cookie before refresh

Hello all. I have a page in ASP.NET that contains a script to redirect to a different page with iFrames. This page contains a lesson followed by a test. As the user moves forward in the lesson, after a couple of pages he is asked to buy that course before he can proceed any further and his last position is always bookmarked. Then the user fills out this form and buys the course to continue. The page where he enters his credit card informtion is a different one than the test/lesson page but it is loaded in the same iFrame. On the credit card page once he buys the course there is a continue button which will take him back to the bookmarked location in the lesson/test (again loaded in the same iFrame). This all works fine in IE but Netscape is giving a Page not found error and when I hit refresh it works. On checking the error log it says the cookie was not detected but it recognizes it after a refresh. So how do I make it work on the first hit? Any suggestions would be really helpful. Thank you.

And this is the Javascript that is generating the URL dynamically for redirecting to the lesson/test page.

ReturnPath = “<input type=’button’ value='” & LangResourceReader.GetString(“Continue”) & “‘ name=’redir’ onClick=” & Chr(34) & “parent.frames[‘display’].location.href='” & Request.QueryString(“ReturnPath”) & “‘” & Chr(34) & “>”

Fiddu

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@firdouseqasimauthorJan 11.2005 — and if i copy the URL generated after clicking the continue button and paste it in the browser it works. but it doesnt work when it goes to that page directly.

Fiddu
×

Success!

Help @firdouseqasim spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...