JHinman Posted May 17, 2001 Posted May 17, 2001 I am having a problem with my tags. In particular the cookie tag. I send the SetCookie tag and it works just fine. The cookie sets perfectly. But the strange part comes when I try to use the stored cookie. On some HTML pages the cookie works. But on other pages all I get in my browser is the tag, "[fmp-cookie: WWHSCurrentUser]", and not the cookie value. Am I forgeting to include other tags around it or have I lost my marbles. Any help would be greatly appreciated. Jordan
flexistentialism Posted May 18, 2001 Posted May 18, 2001 The replacement tag isn't being replaced this means you are losing the connection to the record in some way. Do the referring pages have POST actions to get info from FMPro?
yafreax Posted May 18, 2001 Posted May 18, 2001 Look at the links that are taking you from one page to the page that shows the cookies and compare to the ones that do not. I used to have this problem, then i realized that the pages it was not showing on were generaly coming from straight HTML links (ie- ../folder/search.htm) as opposed to "FMP" links (ie - ../FMPro?-db=database, etc etc.). This would mean, as flex mentioned, that you "are losing your connection" but not necessarily to a record. Cookies are not record specific. But FMP-Cookies ARE FMP specific. So you have to the FMP links leading to the page in which the cookies show. If you are using a submit type button, then the problem is obviously elsewhere. If when you set the cookie, you are not using a submit button, then you need to include the [FMP-SetCookie] in the FMP link. I may have rambled on for nothing, let us know. jeremy
JHinman Posted May 18, 2001 Author Posted May 18, 2001 Hey you guys rock! Thank you very much for your help. Putting the [FMP-link] worked wonders. Jordan
Recommended Posts
This topic is 8659 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now