I have been having some problems for a while with some admin pages that require a login, so session state is paramount.
If I use the standard code Witango uses for deleting a record, most of the time, state is lost:
<FORM METHOD=GET ACTION="<@APPFILE>?<@userreferenceargument>">
<INPUT TYPE=HIDDEN NAME="_function" VALUE="delete">
<INPUT TYPE=HIDDEN NAME="CommonlabSchedule_uid1" VALUE="<@COLUMN "Common.epxLessonSched.rowid">">
<INPUT TYPE=SUBMIT VALUE="Delete">
</FORM>
I have also tried these variations:
<FORM METHOD=GET ACTION="<@APPFILE>">
<INPUT TYPE=HIDDEN NAME="_function" VALUE="delete">
<INPUT TYPE=HIDDEN NAME="CommonlabSchedule_uid1" VALUE="<@COLUMN "Common.epxLessonSched.rowid">">
<INPUT TYPE=HIDDEN NAME="_userReference" VALUE="<@UserReference>">
<INPUT TYPE=SUBMIT VALUE="Delete">
</FORM>
<FORM METHOD=POST ACTION="<@APPFILE>">
<INPUT TYPE=HIDDEN NAME="_function" VALUE="delete">
<INPUT TYPE=HIDDEN NAME="CommonlabSchedule_uid1" VALUE="<@COLUMN "Common.epxLessonSched.rowid">">
<INPUT TYPE=HIDDEN NAME="_userReference" VALUE="<@UserReference>">
<INPUT TYPE=SUBMIT VALUE="Delete">
</FORM>
However, if I use this code, I never lose state:
<p><a href="<@appfile>?_function=delete&CommonlabSchedule_uid1=<@COLUMN "Common.epxLessonSched.rowid">&<@userreferenceargument>">Delete this Record</p>
Anyone else having these issues, or have any ideas?
--
Robert Garcia
President - BigHead Technology
CTO - eventpix.com
2781 N Carlmont Pl
Simi Valley, Ca 93065
ph: 805.522.8577 - cell: 805.501.1390
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/ - http://theradmac.com/
- RE: Witango-Talk: Loss of Session State Issues. Robert Garcia
- RE: Witango-Talk: Loss of Session State Issues. Scott Cadillac
- Re: Witango-Talk: Loss of Session State Issues. Robert Garcia
- Re: Witango-Talk: Loss of Session State Issues. Robert Garcia
- Re: Witango-Talk: Loss of Session State Issues... Phil Wade
- Re: Witango-Talk: Loss of Session State Is... Robert Garcia
- RE: Witango-Talk: Loss of Session Sta... Scott Cadillac
- Re: Witango-Talk: Loss of Session... Robert Garcia
- RE: Witango-Talk: Loss of Ses... Scott Cadillac
- Re: Witango-Talk: Loss of Ses... Robert Garcia
- Re: Witango-Talk: Loss of Session Sta... Atrix Wolfe
