Red Gate forums :: View topic - Cookie problem
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Cookie problem

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
slaneyrw



Joined: 08 Feb 2005
Posts: 28

PostPosted: Mon May 01, 2006 11:10 pm    Post subject: Cookie problem Reply with quote

Hi

I am evaluating the ANTS Load product, and I am having problems with cookies.

A simple script requests a homepage, submits a username/password and then logs out.

The login page redirects

If I record a script based from the browser, it gets all 4 pages
( index.aspx, login.aspx, myaccount.aspx, logout.aspx ), including the redirect from login.aspx to myaccount.aspx.

If I replay the script, then call to myaccount.aspx returns a 302 instead of 200, beause the user is not logged in, as the cookie information is not returned.

I have manually inspected the request object in the aspx page to verify this.

I checked out the article on the viewstate/cookie here in the knowledgebase, and I dumped the header information to Me.LogToFile. the Set-Cookie header IS returned as expected from each step.

I have tried clearing the CookieContainter at the start of each run, and also built the cookie collection manually (from the set-cookie header) after each page request, to no avail.

I don't know what to try next. Any help will be appreciated, but if I can't work this out, the product will be of no use.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Mon May 08, 2006 7:04 pm    Post subject: Reply with quote

Hello,

Sorry, I don't know what it could be. Maybe if you post up the script and point out the place where the redirect happens?
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group