Forums
This topic is locked
Authentification Problem in UltraDev
08 Dec 2001 17:04:10 benja min posted:
Hi, i made a simple Form with user and pass and a button. I made a table on a database for the info. And i added an user Authentification script. Everithing works well when i run it on Explorer. But when i run it on Ultradev i get this error. "Warning: cannot send Session chache limiter - headers already set on line ..."What is wrong ?
Edited by - warlow on 08 Dec 2001 17:14:23
Replies
Replied 08 Dec 2001 21:45:48
08 Dec 2001 21:45:48 Tim Green replied:
This is quite normal. The problem is that UltraDev in some ways can mimic your web browser and in other ways it cannot.
The big problem is when you are using Session Variables, as no HTML can be output to the browser before the session is set, otherwise you can get problems. Unfortunately UltraDev renders the page as it gets it, so there is always HTML output before the session values are set.
The only way to work around this is to design your page fully without the authentication in it, and add it at the end (usually the best approach anyway), or stop using the Live Data preview when you have added Authentication to your page, and instead use the "Preview in Browser" function (F12).
There is just no other way around it.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
The big problem is when you are using Session Variables, as no HTML can be output to the browser before the session is set, otherwise you can get problems. Unfortunately UltraDev renders the page as it gets it, so there is always HTML output before the session values are set.
The only way to work around this is to design your page fully without the authentication in it, and add it at the end (usually the best approach anyway), or stop using the Live Data preview when you have added Authentication to your page, and instead use the "Preview in Browser" function (F12).
There is just no other way around it.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 08 Dec 2001 21:49:34
08 Dec 2001 21:49:34 benja min replied:
thanks, thats what i was thinking <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>